#420F38#420F38

#420F38 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.4% C 0.095 H 336.7°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#420F38
RGBrgb(66, 15, 56)
HSLhsl(312, 63%, 16%)
HSVhsv(312, 77%, 26%)
CMYKcmyk(0%, 77.3%, 15.2%, 74.1%)
CIE-LABlab(14.32, 29.60, -13.77)
CIE-LCHlch(14.32, 32.64, 335.06°)
OKLaboklab(27.38% 0.0869 -0.0374)
OKLCHoklch(27.38% 0.095 336.7)
XYZxyz(3.1314, 1.7857, 3.9204)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F38 #0F4219
analogous
#320F42 #420F38 #420F1E
triadic
#420F38 #38420F #0F3842
tetradic
#420F38 #42320F #0F4219 #0F1E42
square
#420F38 #42320F #0F4219 #0F1E42
split-complementary
#420F38 #1E420F #0F4232
monochromatic
#190615 #190615 #420F38 #741A62 #A6268D

Accessibility & contrast

On white

15.48
#420F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#420F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420F38
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F38#FFFFFF#000000##FFFFFF
##420F381.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101F39
Deuteranopia (green-blind)
#212737
Tritanopia (blue-blind)
#461221
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #420f38;
/* rgb */ color: rgb(66, 15, 56);
/* oklch */ color: oklch(27.4% 0.095 336.7);
Tailwind
colors: {
  custom: {
    50: '#79526e',
    500: '#420f38',
    950: '#000000',
  },
}
SCSS
$custom: #420f38;
$custom-light: #79526e;
$custom-dark: #000000;
JSON
{
  "hex": "#420f38",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 311.765,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27383,
    "c": 0.09462,
    "h": 336.7
  },
  "luminance": 0.01785
}

Semantic roles & 50–950 ramp

primary
#420F38
secondary
#307C3F
accent
#E66242
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #420F38

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

Preview Lab → · Contrast checker → · Palette generator →

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