#42071B#42071B

#42071B is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.2% C 0.089 H 6.6°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#42071B
RGBrgb(66, 7, 27)
HSLhsl(340, 81%, 14%)
HSVhsv(340, 89%, 26%)
CMYKcmyk(0%, 89.4%, 59.1%, 74.1%)
CIE-LABlab(11.89, 28.90, 3.92)
CIE-LCHlch(11.89, 29.16, 7.73°)
OKLaboklab(25.19% 0.0882 0.0102)
OKLCHoklch(25.19% 0.089 6.6)
XYZxyz(2.5208, 1.3897, 1.1722)
Luminance0.0139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42071B #07422E
analogous
#420739 #42071B #421107
triadic
#42071B #1B4207 #071B42
tetradic
#42071B #394207 #07422E #110742
square
#42071B #394207 #07422E #110742
split-complementary
#42071B #074211 #073942
monochromatic
#1C030B #1C030B #42071B #790D32 #B11348

Accessibility & contrast

On white

16.43
#42071B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42071B
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42071B#FFFFFF#000000##FFFFFF
##42071B1.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16181B
Deuteranopia (green-blind)
#26231A
Tritanopia (blue-blind)
#490010
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #42071b;
/* rgb */ color: rgb(66, 7, 27);
/* oklch */ color: oklch(25.2% 0.089 6.6);
Tailwind
colors: {
  custom: {
    50: '#7b4e56',
    500: '#42071b',
    950: '#000000',
  },
}
SCSS
$custom: #42071b;
$custom-light: #7b4e56;
$custom-dark: #000000;
JSON
{
  "hex": "#42071b",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 27
  },
  "hsl": {
    "h": 339.661,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25194,
    "c": 0.08881,
    "h": 6.6
  },
  "luminance": 0.01389
}

Semantic roles & 50–950 ramp

primary
#42071B
secondary
#248161
accent
#F7B431
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #42071B

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

Preview Lab → · Contrast checker → · Palette generator →

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