#42072B#42072B

#42072B is a dark, moderate pink. Relative luminance 0.015; OKLCH L 25.9% C 0.096 H 348.8°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#42072B
RGBrgb(66, 7, 43)
HSLhsl(323, 81%, 14%)
HSVhsv(323, 89%, 26%)
CMYKcmyk(0%, 89.4%, 34.8%, 74.1%)
CIE-LABlab(12.51, 30.76, -7.12)
CIE-LCHlch(12.51, 31.58, 346.97°)
OKLaboklab(25.85% 0.0941 -0.0187)
OKLCHoklch(25.85% 0.096 348.8)
XYZxyz(2.7589, 1.4850, 2.4264)
Luminance0.0149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42072B #07421E
analogous
#3C0742 #42072B #42070E
triadic
#42072B #2B4207 #072B42
tetradic
#42072B #423C07 #07421E #070E42
square
#42072B #423C07 #07421E #070E42
split-complementary
#42072B #0E4207 #07423C
monochromatic
#1C0312 #1C0312 #42072B #790D4F #B11373

Accessibility & contrast

On white

16.19
#42072B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#42072B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42072B
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42072B#FFFFFF#000000##FFFFFF
##42072B1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111A2C
Deuteranopia (green-blind)
#22242A
Tritanopia (blue-blind)
#480418
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #42072b;
/* rgb */ color: rgb(66, 7, 43);
/* oklch */ color: oklch(25.9% 0.096 348.8);
Tailwind
colors: {
  custom: {
    50: '#794e64',
    500: '#42072b',
    950: '#000000',
  },
}
SCSS
$custom: #42072b;
$custom-light: #794e64;
$custom-dark: #000000;
JSON
{
  "hex": "#42072b",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 43
  },
  "hsl": {
    "h": 323.39,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25853,
    "c": 0.09592,
    "h": 348.8
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

primary
#42072B
secondary
#248148
accent
#F77E31
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #42072B

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

Preview Lab → · Contrast checker → · Palette generator →

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