#420F23#420F23

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

Color values

HEX#420F23
RGBrgb(66, 15, 35)
HSLhsl(336, 63%, 16%)
HSVhsv(336, 77%, 26%)
CMYKcmyk(0%, 77.3%, 47%, 74.1%)
CIE-LABlab(13.36, 26.40, 0.06)
CIE-LCHlch(13.36, 26.40, 0.13°)
OKLaboklab(26.37% 0.0809 0.0005)
OKLCHoklch(26.37% 0.081 0.3)
XYZxyz(2.7212, 1.6216, 1.7595)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F23 #0F422E
analogous
#420F3C #420F23 #42140F
triadic
#420F23 #23420F #0F2342
tetradic
#420F23 #3C420F #0F422E #140F42
square
#420F23 #3C420F #0F422E #140F42
split-complementary
#420F23 #0F4214 #0F3C42
monochromatic
#19060D #19060D #420F23 #741A3D #A62658

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##420F23#FFFFFF#000000##FFFFFF
##420F231.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)
#191C24
Deuteranopia (green-blind)
#272622
Tritanopia (blue-blind)
#480917
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420f23;
/* rgb */ color: rgb(66, 15, 35);
/* oklch */ color: oklch(26.4% 0.081 0.3);
Tailwind
colors: {
  custom: {
    50: '#79525d',
    500: '#420f23',
    950: '#000000',
  },
}
SCSS
$custom: #420f23;
$custom-light: #79525d;
$custom-dark: #000000;
JSON
{
  "hex": "#420f23",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 35
  },
  "hsl": {
    "h": 336.471,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26367,
    "c": 0.08085,
    "h": 0.3
  },
  "luminance": 0.01621
}

Semantic roles & 50–950 ramp

primary
#420F23
secondary
#307C5F
accent
#E6A642
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #420F23

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

Preview Lab → · Contrast checker → · Palette generator →

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