#420C26#420C26

#420C26 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.1% C 0.087 H 355.5°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#420C26
RGBrgb(66, 12, 38)
HSLhsl(331, 69%, 15%)
HSVhsv(331, 82%, 26%)
CMYKcmyk(0%, 81.8%, 42.4%, 74.1%)
CIE-LABlab(12.99, 28.12, -2.70)
CIE-LCHlch(12.99, 28.25, 354.51°)
OKLaboklab(26.13% 0.0862 -0.0068)
OKLCHoklch(26.13% 0.087 355.5)
XYZxyz(2.7283, 1.5615, 1.9911)
Luminance0.0156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#420C26 #0C4228
analogous
#420C41 #420C26 #420D0C
triadic
#420C26 #26420C #0C2642
tetradic
#420C26 #41420C #0C4228 #0D0C42
square
#420C26 #41420C #0C4228 #0D0C42
split-complementary
#420C26 #0C420D #0C4142
monochromatic
#1A050F #1A050F #420C26 #761544 #AA1F62

Accessibility & contrast

On white

16.00
#420C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#420C26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #420C26
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##420C26#FFFFFF#000000##FFFFFF
##420C261.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161B27
Deuteranopia (green-blind)
#252525
Tritanopia (blue-blind)
#480717
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #420c26;
/* rgb */ color: rgb(66, 12, 38);
/* oklch */ color: oklch(26.1% 0.087 355.5);
Tailwind
colors: {
  custom: {
    50: '#795060',
    500: '#420c26',
    950: '#000000',
  },
}
SCSS
$custom: #420c26;
$custom-light: #795060;
$custom-dark: #000000;
JSON
{
  "hex": "#420c26",
  "rgb": {
    "r": 66,
    "g": 12,
    "b": 38
  },
  "hsl": {
    "h": 331.111,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26133,
    "c": 0.08652,
    "h": 355.5
  },
  "luminance": 0.01561
}

Semantic roles & 50–950 ramp

primary
#420C26
secondary
#2C7E56
accent
#EC973C
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#090204
muted
#7B7879

Preview Lab

Preview with #420C26

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

Preview Lab → · Contrast checker → · Palette generator →

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