#42071A#42071A

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

Color values

HEX#42071A
RGBrgb(66, 7, 26)
HSLhsl(341, 81%, 14%)
HSVhsv(341, 89%, 26%)
CMYKcmyk(0%, 89.4%, 60.6%, 74.1%)
CIE-LABlab(11.86, 28.80, 4.64)
CIE-LCHlch(11.86, 29.17, 9.14°)
OKLaboklab(25.16% 0.0878 0.0119)
OKLCHoklch(25.16% 0.089 7.7)
XYZxyz(2.5094, 1.3852, 1.1123)
Luminance0.0138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42071A #07422F
analogous
#420738 #42071A #421207
triadic
#42071A #1A4207 #071A42
tetradic
#42071A #384207 #07422F #120742
square
#42071A #384207 #07422F #120742
split-complementary
#42071A #074212 #073842
monochromatic
#1C030B #1C030B #42071A #790D30 #B11346

Accessibility & contrast

On white

16.44
#42071A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42071A
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42071A#FFFFFF#000000##FFFFFF
##42071A1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17181A
Deuteranopia (green-blind)
#262319
Tritanopia (blue-blind)
#49000F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #42071a;
/* rgb */ color: rgb(66, 7, 26);
/* oklch */ color: oklch(25.2% 0.089 7.7);
Tailwind
colors: {
  custom: {
    50: '#7b4e56',
    500: '#42071a',
    950: '#000000',
  },
}
SCSS
$custom: #42071a;
$custom-light: #7b4e56;
$custom-dark: #000000;
JSON
{
  "hex": "#42071a",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 26
  },
  "hsl": {
    "h": 340.678,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25161,
    "c": 0.08858,
    "h": 7.7
  },
  "luminance": 0.01385
}

Semantic roles & 50–950 ramp

primary
#42071A
secondary
#248163
accent
#F7B731
background
#F7F4F5
surface
#EEE7E8
border
#C9C3C4
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #42071A

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

Preview Lab → · Contrast checker → · Palette generator →

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