#42072F#42072F

#42072F is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.1% C 0.099 H 344.7°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#42072F
RGBrgb(66, 7, 47)
HSLhsl(319, 81%, 14%)
HSVhsv(319, 89%, 26%)
CMYKcmyk(0%, 89.4%, 28.8%, 74.1%)
CIE-LABlab(12.71, 31.34, -9.76)
CIE-LCHlch(12.71, 32.82, 342.70°)
OKLaboklab(26.06% 0.095 -0.026)
OKLCHoklch(26.06% 0.099 344.7)
XYZxyz(2.8360, 1.5158, 2.8320)
Luminance0.0152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42072F #07421A
analogous
#380742 #42072F #420712
triadic
#42072F #2F4207 #072F42
tetradic
#42072F #423807 #07421A #071242
square
#42072F #423807 #07421A #071242
split-complementary
#42072F #124207 #074238
monochromatic
#1C0314 #1C0314 #42072F #790D56 #B1137E

Accessibility & contrast

On white

16.12
#42072F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42072F
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42072F#FFFFFF#000000##FFFFFF
##42072F1.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1B30
Deuteranopia (green-blind)
#21242E
Tritanopia (blue-blind)
#47061A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #42072f;
/* rgb */ color: rgb(66, 7, 47);
/* oklch */ color: oklch(26.1% 0.099 344.7);
Tailwind
colors: {
  custom: {
    50: '#794f67',
    500: '#42072f',
    950: '#000000',
  },
}
SCSS
$custom: #42072f;
$custom-light: #794f67;
$custom-dark: #000000;
JSON
{
  "hex": "#42072f",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 47
  },
  "hsl": {
    "h": 319.322,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26058,
    "c": 0.09854,
    "h": 344.7
  },
  "luminance": 0.01515
}

Semantic roles & 50–950 ramp

primary
#42072F
secondary
#248142
accent
#F77131
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #42072F

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

Preview Lab → · Contrast checker → · Palette generator →

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