#42071C#42071C

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

Color values

HEX#42071C
RGBrgb(66, 7, 28)
HSLhsl(339, 81%, 14%)
HSVhsv(339, 89%, 26%)
CMYKcmyk(0%, 89.4%, 57.6%, 74.1%)
CIE-LABlab(11.92, 28.99, 3.21)
CIE-LCHlch(11.92, 29.17, 6.32°)
OKLaboklab(25.23% 0.0887 0.0084)
OKLCHoklch(25.23% 0.089 5.4)
XYZxyz(2.5326, 1.3944, 1.2342)
Luminance0.0139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42071C #07422D
analogous
#42073A #42071C #421007
triadic
#42071C #1C4207 #071C42
tetradic
#42071C #3A4207 #07422D #100742
square
#42071C #3A4207 #07422D #100742
split-complementary
#42071C #074210 #073A42
monochromatic
#1C030C #1C030C #42071C #790D33 #B1134B

Accessibility & contrast

On white

16.42
#42071C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42071C
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42071C#FFFFFF#000000##FFFFFF
##42071C1.0016.421.2816.42
#FFFFFF16.421.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42071c;
/* rgb */ color: rgb(66, 7, 28);
/* oklch */ color: oklch(25.2% 0.089 5.4);
Tailwind
colors: {
  custom: {
    50: '#7b4e57',
    500: '#42071c',
    950: '#000000',
  },
}
SCSS
$custom: #42071c;
$custom-light: #7b4e57;
$custom-dark: #000000;
JSON
{
  "hex": "#42071c",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 28
  },
  "hsl": {
    "h": 338.644,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25227,
    "c": 0.08907,
    "h": 5.4
  },
  "luminance": 0.01394
}

Semantic roles & 50–950 ramp

primary
#42071C
secondary
#248160
accent
#F7B131
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #42071C

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

Preview Lab → · Contrast checker → · Palette generator →

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