#420E27#420E27

#420E27 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.4% C 0.084 H 355.0°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#420E27
RGBrgb(66, 14, 39)
HSLhsl(331, 65%, 16%)
HSVhsv(331, 79%, 26%)
CMYKcmyk(0%, 78.8%, 40.9%, 74.1%)
CIE-LABlab(13.35, 27.38, -2.92)
CIE-LCHlch(13.35, 27.54, 353.92°)
OKLaboklab(26.41% 0.0839 -0.0073)
OKLCHoklch(26.41% 0.084 355)
XYZxyz(2.7702, 1.6191, 2.0857)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420E27 #0E4229
analogous
#420E41 #420E27 #420F0E
triadic
#420E27 #27420E #0E2742
tetradic
#420E27 #41420E #0E4229 #0F0E42
square
#420E27 #41420E #0E4229 #0F0E42
split-complementary
#420E27 #0E420F #0E4142
monochromatic
#19050F #19050F #420E27 #741945 #A72363

Accessibility & contrast

On white

15.86
#420E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#420E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420E27
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420E27#FFFFFF#000000##FFFFFF
##420E271.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171C28
Deuteranopia (green-blind)
#262626
Tritanopia (blue-blind)
#480919
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420e27;
/* rgb */ color: rgb(66, 14, 39);
/* oklch */ color: oklch(26.4% 0.084 355.0);
Tailwind
colors: {
  custom: {
    50: '#795161',
    500: '#420e27',
    950: '#000000',
  },
}
SCSS
$custom: #420e27;
$custom-light: #795161;
$custom-dark: #000000;
JSON
{
  "hex": "#420e27",
  "rgb": {
    "r": 66,
    "g": 14,
    "b": 39
  },
  "hsl": {
    "h": 331.154,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26405,
    "c": 0.08418,
    "h": 355
  },
  "luminance": 0.01619
}

Semantic roles & 50–950 ramp

primary
#420E27
secondary
#2F7D57
accent
#E89740
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090205
muted
#7B7879

Preview Lab

Preview with #420E27

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

Preview Lab → · Contrast checker → · Palette generator →

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