#42152B#42152B

#42152B is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.5% C 0.075 H 352.7°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#42152B
RGBrgb(66, 21, 43)
HSLhsl(331, 52%, 17%)
HSVhsv(331, 68%, 26%)
CMYKcmyk(0%, 68.2%, 34.8%, 74.1%)
CIE-LABlab(14.79, 24.45, -3.69)
CIE-LCHlch(14.79, 24.73, 351.41°)
OKLaboklab(27.52% 0.0744 -0.0095)
OKLCHoklch(27.52% 0.075 352.7)
XYZxyz(2.9511, 1.8693, 2.4904)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42152B #15422C
analogous
#421542 #42152B #421615
triadic
#42152B #2B4215 #152B42
tetradic
#42152B #424215 #15422C #161542
square
#42152B #424215 #15422C #161542
split-complementary
#42152B #154216 #154242
monochromatic
#17070F #17070F #42152B #702449 #9F3367

Accessibility & contrast

On white

15.29
#42152B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#42152B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42152B
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42152B#FFFFFF#000000##FFFFFF
##42152B1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202C
Deuteranopia (green-blind)
#28282A
Tritanopia (blue-blind)
#47121E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42152b;
/* rgb */ color: rgb(66, 21, 43);
/* oklch */ color: oklch(27.5% 0.075 352.7);
Tailwind
colors: {
  custom: {
    50: '#795564',
    500: '#42152b',
    950: '#000000',
  },
}
SCSS
$custom: #42152b;
$custom-light: #795564;
$custom-dark: #000000;
JSON
{
  "hex": "#42152b",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 43
  },
  "hsl": {
    "h": 330.667,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27522,
    "c": 0.07497,
    "h": 352.7
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#42152B
secondary
#397A5A
accent
#DB954D
background
#F7F5F5
surface
#EDE9EA
border
#C8C5C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #42152B

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

Preview Lab → · Contrast checker → · Palette generator →

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