#42071E#42071E

#42071E is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.3% C 0.090 H 3.1°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#42071E
RGBrgb(66, 7, 30)
HSLhsl(337, 81%, 14%)
HSVhsv(337, 89%, 26%)
CMYKcmyk(0%, 89.4%, 54.5%, 74.1%)
CIE-LABlab(11.99, 29.19, 1.80)
CIE-LCHlch(11.99, 29.25, 3.52°)
OKLaboklab(25.3% 0.0895 0.0049)
OKLCHoklch(25.3% 0.09 3.1)
XYZxyz(2.5573, 1.4043, 1.3644)
Luminance0.0140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42071E #07422B
analogous
#42073C #42071E #420E07
triadic
#42071E #1E4207 #071E42
tetradic
#42071E #3C4207 #07422B #0E0742
square
#42071E #3C4207 #07422B #0E0742
split-complementary
#42071E #07420E #073C42
monochromatic
#1C030D #1C030D #42071E #790D37 #B11350

Accessibility & contrast

On white

16.40
#42071E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#42071E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42071E
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42071E#FFFFFF#000000##FFFFFF
##42071E1.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16181F
Deuteranopia (green-blind)
#25241D
Tritanopia (blue-blind)
#490011
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #42071e;
/* rgb */ color: rgb(66, 7, 30);
/* oklch */ color: oklch(25.3% 0.090 3.1);
Tailwind
colors: {
  custom: {
    50: '#7a4e59',
    500: '#42071e',
    950: '#000000',
  },
}
SCSS
$custom: #42071e;
$custom-light: #7a4e59;
$custom-dark: #000000;
JSON
{
  "hex": "#42071e",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 30
  },
  "hsl": {
    "h": 336.61,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25297,
    "c": 0.08966,
    "h": 3.1
  },
  "luminance": 0.01404
}

Semantic roles & 50–950 ramp

primary
#42071E
secondary
#24815D
accent
#F7AA31
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #42071E

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

Preview Lab → · Contrast checker → · Palette generator →

#42071E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva