#420F26#420F26

#420F26 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.5% C 0.082 H 356.6°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#420F26
RGBrgb(66, 15, 38)
HSLhsl(333, 63%, 16%)
HSVhsv(333, 77%, 26%)
CMYKcmyk(0%, 77.3%, 42.4%, 74.1%)
CIE-LABlab(13.47, 26.79, -1.99)
CIE-LCHlch(13.47, 26.86, 355.75°)
OKLaboklab(26.49% 0.082 -0.0049)
OKLCHoklch(26.49% 0.082 356.6)
XYZxyz(2.7676, 1.6402, 2.0042)
Luminance0.0164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F26 #0F422B
analogous
#420F3F #420F26 #42110F
triadic
#420F26 #26420F #0F2642
tetradic
#420F26 #3F420F #0F422B #110F42
square
#420F26 #3F420F #0F422B #110F42
split-complementary
#420F26 #0F4211 #0F3F42
monochromatic
#19060E #19060E #420F26 #741A43 #A6265F

Accessibility & contrast

On white

15.81
#420F26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#420F26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F26
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F26#FFFFFF#000000##FFFFFF
##420F261.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181C27
Deuteranopia (green-blind)
#262625
Tritanopia (blue-blind)
#480A19
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420f26;
/* rgb */ color: rgb(66, 15, 38);
/* oklch */ color: oklch(26.5% 0.082 356.6);
Tailwind
colors: {
  custom: {
    50: '#795260',
    500: '#420f26',
    950: '#000000',
  },
}
SCSS
$custom: #420f26;
$custom-light: #795260;
$custom-dark: #000000;
JSON
{
  "hex": "#420f26",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 38
  },
  "hsl": {
    "h": 332.941,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26486,
    "c": 0.08219,
    "h": 356.6
  },
  "luminance": 0.0164
}

Semantic roles & 50–950 ramp

primary
#420F26
secondary
#307C5A
accent
#E69C42
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #420F26

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#420F26 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva