#42152D#42152D

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

Color values

HEX#42152D
RGBrgb(66, 21, 45)
HSLhsl(328, 52%, 17%)
HSVhsv(328, 68%, 26%)
CMYKcmyk(0%, 68.2%, 31.8%, 74.1%)
CIE-LABlab(14.87, 24.76, -5.02)
CIE-LCHlch(14.87, 25.27, 348.55°)
OKLaboklab(27.61% 0.0751 -0.0131)
OKLCHoklch(27.61% 0.076 350.1)
XYZxyz(2.9887, 1.8843, 2.6884)
Luminance0.0188 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42152D #15422A
analogous
#411542 #42152D #421517
triadic
#42152D #2D4215 #152D42
tetradic
#42152D #424115 #15422A #151742
square
#42152D #424115 #15422A #151742
split-complementary
#42152D #174215 #154241
monochromatic
#170710 #170710 #42152D #70244D #9F336C

Accessibility & contrast

On white

15.25
#42152D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42152D
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42152D#FFFFFF#000000##FFFFFF
##42152D1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202E
Deuteranopia (green-blind)
#27282C
Tritanopia (blue-blind)
#47131F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42152d;
/* rgb */ color: rgb(66, 21, 45);
/* oklch */ color: oklch(27.6% 0.076 350.1);
Tailwind
colors: {
  custom: {
    50: '#785565',
    500: '#42152d',
    950: '#000000',
  },
}
SCSS
$custom: #42152d;
$custom-light: #785565;
$custom-dark: #000000;
JSON
{
  "hex": "#42152d",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 45
  },
  "hsl": {
    "h": 328,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2761,
    "c": 0.07621,
    "h": 350.1
  },
  "luminance": 0.01884
}

Semantic roles & 50–950 ramp

primary
#42152D
secondary
#397A57
accent
#DB8F4D
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090305
muted
#7B787A

Preview Lab

Preview with #42152D

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

Preview Lab → · Contrast checker → · Palette generator →

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