#42152C#42152C

#42152C is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.6% C 0.076 H 351.4°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#42152C
RGBrgb(66, 21, 44)
HSLhsl(329, 52%, 17%)
HSVhsv(329, 68%, 26%)
CMYKcmyk(0%, 68.2%, 33.3%, 74.1%)
CIE-LABlab(14.83, 24.61, -4.36)
CIE-LCHlch(14.83, 24.99, 349.96°)
OKLaboklab(27.57% 0.0747 -0.0113)
OKLCHoklch(27.57% 0.076 351.4)
XYZxyz(2.9697, 1.8767, 2.5882)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42152C #15422B
analogous
#421542 #42152C #421516
triadic
#42152C #2C4215 #152C42
tetradic
#42152C #424215 #15422B #151642
square
#42152C #424215 #15422B #151642
split-complementary
#42152C #164215 #154242
monochromatic
#17070F #17070F #42152C #70244B #9F336A

Accessibility & contrast

On white

15.27
#42152C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42152C
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42152C#FFFFFF#000000##FFFFFF
##42152C1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202D
Deuteranopia (green-blind)
#27282B
Tritanopia (blue-blind)
#47131E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42152c;
/* rgb */ color: rgb(66, 21, 44);
/* oklch */ color: oklch(27.6% 0.076 351.4);
Tailwind
colors: {
  custom: {
    50: '#785565',
    500: '#42152c',
    950: '#000000',
  },
}
SCSS
$custom: #42152c;
$custom-light: #785565;
$custom-dark: #000000;
JSON
{
  "hex": "#42152c",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 44
  },
  "hsl": {
    "h": 329.333,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27566,
    "c": 0.07558,
    "h": 351.4
  },
  "luminance": 0.01876
}

Semantic roles & 50–950 ramp

primary
#42152C
secondary
#397A59
accent
#DB924D
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090305
muted
#7B787A

Preview Lab

Preview with #42152C

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

Preview Lab → · Contrast checker → · Palette generator →

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