#42072D#42072D

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

Color values

HEX#42072D
RGBrgb(66, 7, 45)
HSLhsl(321, 81%, 14%)
HSVhsv(321, 89%, 26%)
CMYKcmyk(0%, 89.4%, 31.8%, 74.1%)
CIE-LABlab(12.61, 31.05, -8.45)
CIE-LCHlch(12.61, 32.18, 344.78°)
OKLaboklab(25.95% 0.0946 -0.0224)
OKLCHoklch(25.95% 0.097 346.7)
XYZxyz(2.7965, 1.5000, 2.6244)
Luminance0.0150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42072D #07421C
analogous
#3A0742 #42072D #420710
triadic
#42072D #2D4207 #072D42
tetradic
#42072D #423A07 #07421C #071042
square
#42072D #423A07 #07421C #071042
split-complementary
#42072D #104207 #07423A
monochromatic
#1C0313 #1C0313 #42072D #790D53 #B11378

Accessibility & contrast

On white

16.15
#42072D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42072D
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42072D#FFFFFF#000000##FFFFFF
##42072D1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101A2E
Deuteranopia (green-blind)
#22242C
Tritanopia (blue-blind)
#470519
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #42072d;
/* rgb */ color: rgb(66, 7, 45);
/* oklch */ color: oklch(26.0% 0.097 346.7);
Tailwind
colors: {
  custom: {
    50: '#794e66',
    500: '#42072d',
    950: '#000000',
  },
}
SCSS
$custom: #42072d;
$custom-light: #794e66;
$custom-dark: #000000;
JSON
{
  "hex": "#42072d",
  "rgb": {
    "r": 66,
    "g": 7,
    "b": 45
  },
  "hsl": {
    "h": 321.356,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25953,
    "c": 0.0972,
    "h": 346.7
  },
  "luminance": 0.015
}

Semantic roles & 50–950 ramp

primary
#42072D
secondary
#248145
accent
#F77731
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090205
muted
#7B787A

Preview Lab

Preview with #42072D

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

Preview Lab → · Contrast checker → · Palette generator →

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