#42072E#42072E

#42072E is a dark, moderate pink. Relative luminance 0.015; OKLCH L 26.0% C 0.098 H 345.7°. Best body text is #FFFFFF at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#42072E
RGBrgb(66, 7, 46)
HSLhsl(320, 81%, 14%)
HSVhsv(320, 89%, 26%)
CMYKcmyk(0%, 89.4%, 30.3%, 74.1%)
CIE-LABlab(12.66, 31.19, -9.11)
CIE-LCHlch(12.66, 32.49, 343.73°)
OKLaboklab(26.01% 0.0948 -0.0242)
OKLCHoklch(26.01% 0.098 345.7)
XYZxyz(2.8160, 1.5078, 2.7270)
Luminance0.0151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42072E #07421B
analogous
#390742 #42072E #420711
triadic
#42072E #2E4207 #072E42
tetradic
#42072E #423907 #07421B #071142
square
#42072E #423907 #07421B #071142
split-complementary
#42072E #114207 #074239
monochromatic
#1C0313 #1C0313 #42072E #790D55 #B1137B

Accessibility & contrast

On white

16.14
#42072E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42072E
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42072E#FFFFFF#000000##FFFFFF
##42072E1.0016.141.3016.14
#FFFFFF16.141.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1A2F
Deuteranopia (green-blind)
#22242D
Tritanopia (blue-blind)
#47061A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #42072e;
/* rgb */ color: rgb(66, 7, 46);
/* oklch */ color: oklch(26.0% 0.098 345.7);
Tailwind
colors: {
  custom: {
    50: '#794f66',
    500: '#42072e',
    950: '#000000',
  },
}
SCSS
$custom: #42072e;
$custom-light: #794f66;
$custom-dark: #000000;
JSON
{
  "hex": "#42072e",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 46
  },
  "hsl": {
    "h": 320.339,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26005,
    "c": 0.09786,
    "h": 345.7
  },
  "luminance": 0.01507
}

Semantic roles & 50–950 ramp

primary
#42072E
secondary
#248143
accent
#F77431
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090206
muted
#7B787A

Preview Lab

Preview with #42072E

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

Preview Lab → · Contrast checker → · Palette generator →

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