#420F27#420F27

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

Color values

HEX#420F27
RGBrgb(66, 15, 39)
HSLhsl(332, 63%, 16%)
HSVhsv(332, 77%, 26%)
CMYKcmyk(0%, 77.3%, 40.9%, 74.1%)
CIE-LABlab(13.51, 26.92, -2.67)
CIE-LCHlch(13.51, 27.05, 354.34°)
OKLaboklab(26.53% 0.0824 -0.0067)
OKLCHoklch(26.53% 0.083 355.4)
XYZxyz(2.7840, 1.6467, 2.0903)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420F27 #0F422A
analogous
#420F40 #420F27 #42100F
triadic
#420F27 #27420F #0F2742
tetradic
#420F27 #40420F #0F422A #100F42
square
#420F27 #40420F #0F422A #100F42
split-complementary
#420F27 #0F4210 #0F4042
monochromatic
#19060F #19060F #420F27 #741A44 #A62662

Accessibility & contrast

On white

15.80
#420F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #420F27
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420F27#FFFFFF#000000##FFFFFF
##420F271.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181D28
Deuteranopia (green-blind)
#262626
Tritanopia (blue-blind)
#480A19
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #420f27;
/* rgb */ color: rgb(66, 15, 39);
/* oklch */ color: oklch(26.5% 0.083 355.4);
Tailwind
colors: {
  custom: {
    50: '#795261',
    500: '#420f27',
    950: '#000000',
  },
}
SCSS
$custom: #420f27;
$custom-light: #795261;
$custom-dark: #000000;
JSON
{
  "hex": "#420f27",
  "rgb": {
    "r": 66,
    "g": 15,
    "b": 39
  },
  "hsl": {
    "h": 331.765,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26527,
    "c": 0.08268,
    "h": 355.4
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#420F27
secondary
#307C59
accent
#E69942
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090205
muted
#7B7879

Preview Lab

Preview with #420F27

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

Preview Lab → · Contrast checker → · Palette generator →

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