Color Scheme Explorer

rose-pine base16 dark

rose-pine
darkwarm
readability43/100dark98%bg#191724fg#524f67bg hue249°fg hue248°mean lightness56%saturation42%warmth+0.11mean hue294° magentahue variation86°distinct hues5avg contrast6.8fg contrast2.2text on bgwhiteachromatic0

Colors

base00
base01
base02
base03
base04
base05
base06
base07
base08
base09
base0A
base0B
base0C
base0D
base0E
base0F
roygcbpb

Ramp is sorted by WCAG relative luminance; the strip maps the 8 ANSI roles (base08–base0F).

Code sample

package main

import "fmt"

const (
	Version  = "1.2.0" // release
	MaxTries = 3
)

type Server struct {
	Host string
	Port int
}

func (s *Server) start(tls bool) error {
	addr := fmt.Sprintf("%s:%d", s.Host, s.Port)
	if tls {
		return listen(addr, 443)
	}
	return listen(addr, 80)
}

Analysis

hue wheel
hue histogram
<1.21.2234.5≥7
contrast buckets
WCAG contrast matrix
vsbase00base01base02base03base04base05base06base07base08base09base0abase0bbase0cbase0dbase0ebase0f
base00·1.11.23.45.513.413.42.26.110.810.53.410.48.410.82.2
base011.1·1.13.25.112.512.52.15.710.19.83.29.77.910.12.1
base021.21.1·2.94.711.511.51.95.29.39.02.98.97.29.31.9
base033.43.22.9·1.63.93.91.51.83.13.11.03.02.53.11.5
base045.55.14.71.6·2.42.42.41.12.01.91.61.91.52.02.4
base0513.412.511.53.92.4·1.06.02.21.21.34.01.31.61.26.0
base0613.412.511.53.92.41.0·6.02.21.21.34.01.31.61.26.0
base072.22.11.91.52.46.06.0·2.74.84.71.54.63.84.81.0
base086.15.75.21.81.12.22.22.7·1.81.71.81.71.41.82.7
base0910.810.19.33.12.01.21.24.81.8·1.03.21.01.31.04.8
base0a10.59.89.03.11.91.31.34.71.71.0·3.11.01.21.04.7
base0b3.43.22.91.01.64.04.01.51.83.23.1·3.12.53.21.5
base0c10.49.78.93.01.91.31.34.61.71.01.03.1·1.21.04.6
base0d8.47.97.22.51.51.61.63.81.41.31.22.51.2·1.33.8
base0e10.810.19.33.12.01.21.24.81.81.01.03.21.01.3·4.8
base0f2.22.11.91.52.46.06.01.02.74.84.71.54.63.84.8·

Each cell is the WCAG contrast ratio between the row color and the column color (darker cell = higher ratio). ≥4.5 passes AA for normal text, ≥7 passes AAA.

Terminal

user@host:~/dev/scheme$ ls -la
-rw-r--r-- 8.9K user main.go
-rw-r--r-- 5.8K user preview.go
-rwxr-xr-x 9.9M user colorexplorer
drwxr-xr-x 4096 user cache/
lrwxrwxrwx 11 user site -> public
-rw-r--r-- 2400 user bundle.zip
user@host:~/dev/scheme$ git diff --stat
diff --git a/main.go b/main.go
--- a/main.go
+++ b/main.go
@@ -12,7 +12,8 @@
-	addr := ":8080"
+	addr := ":9090"