#42152F#42152F

#42152F is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.7% C 0.078 H 347.6°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#42152F
RGBrgb(66, 21, 47)
HSLhsl(325, 52%, 17%)
HSVhsv(325, 68%, 26%)
CMYKcmyk(0%, 68.2%, 28.8%, 74.1%)
CIE-LABlab(14.95, 25.08, -6.33)
CIE-LCHlch(14.95, 25.87, 345.83°)
OKLaboklab(27.7% 0.0758 -0.0167)
OKLCHoklch(27.7% 0.078 347.6)
XYZxyz(3.0281, 1.9001, 2.8961)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42152F #154228
analogous
#3F1542 #42152F #421519
triadic
#42152F #2F4215 #152F42
tetradic
#42152F #423F15 #154228 #151942
square
#42152F #423F15 #154228 #151942
split-complementary
#42152F #194215 #15423F
monochromatic
#170711 #170711 #42152F #702450 #9F3371

Accessibility & contrast

On white

15.22
#42152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#42152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42152F
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42152F#FFFFFF#000000##FFFFFF
##42152F1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2130
Deuteranopia (green-blind)
#27282E
Tritanopia (blue-blind)
#471420
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #42152f;
/* rgb */ color: rgb(66, 21, 47);
/* oklch */ color: oklch(27.7% 0.078 347.6);
Tailwind
colors: {
  custom: {
    50: '#785567',
    500: '#42152f',
    950: '#000000',
  },
}
SCSS
$custom: #42152f;
$custom-light: #785567;
$custom-dark: #000000;
JSON
{
  "hex": "#42152f",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 325.333,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27702,
    "c": 0.07756,
    "h": 347.6
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#42152F
secondary
#397A54
accent
#DB894D
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #42152F

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

Preview Lab → · Contrast checker → · Palette generator →

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