#42071F#42071F

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

Color values

HEX#42071F
RGBrgb(66, 7, 31)
HSLhsl(336, 81%, 14%)
HSVhsv(336, 89%, 26%)
CMYKcmyk(0%, 89.4%, 53%, 74.1%)
CIE-LABlab(12.02, 29.30, 1.09)
CIE-LCHlch(12.02, 29.32, 2.14°)
OKLaboklab(25.33% 0.09 0.0031)
OKLCHoklch(25.33% 0.09 2)
XYZxyz(2.5703, 1.4095, 1.4328)
Luminance0.0141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42071F #07422A
analogous
#42073D #42071F #420C07
triadic
#42071F #1F4207 #071F42
tetradic
#42071F #3D4207 #07422A #0C0742
square
#42071F #3D4207 #07422A #0C0742
split-complementary
#42071F #07420C #073D42
monochromatic
#1C030D #1C030D #42071F #790D39 #B11353

Accessibility & contrast

On white

16.38
#42071F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42071F
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42071F#FFFFFF#000000##FFFFFF
##42071F1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151820
Deuteranopia (green-blind)
#25241E
Tritanopia (blue-blind)
#490012
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #42071f;
/* rgb */ color: rgb(66, 7, 31);
/* oklch */ color: oklch(25.3% 0.090 2.0);
Tailwind
colors: {
  custom: {
    50: '#7a4e5a',
    500: '#42071f',
    950: '#000000',
  },
}
SCSS
$custom: #42071f;
$custom-light: #7a4e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#42071f",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 31
  },
  "hsl": {
    "h": 335.593,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25333,
    "c": 0.09,
    "h": 2
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#42071F
secondary
#24815B
accent
#F7A631
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #42071F

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

Preview Lab → · Contrast checker → · Palette generator →

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