#42152E#42152E

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

Color values

HEX#42152E
RGBrgb(66, 21, 46)
HSLhsl(327, 52%, 17%)
HSVhsv(327, 68%, 26%)
CMYKcmyk(0%, 68.2%, 30.3%, 74.1%)
CIE-LABlab(14.91, 24.92, -5.68)
CIE-LCHlch(14.91, 25.56, 347.17°)
OKLaboklab(27.66% 0.0754 -0.0148)
OKLCHoklch(27.66% 0.077 348.9)
XYZxyz(3.0082, 1.8921, 2.7910)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42152E #154229
analogous
#401542 #42152E #421518
triadic
#42152E #2E4215 #152E42
tetradic
#42152E #424015 #154229 #151842
square
#42152E #424015 #154229 #151842
split-complementary
#42152E #184215 #154240
monochromatic
#170710 #170710 #42152E #70244E #9F336F

Accessibility & contrast

On white

15.24
#42152E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42152E
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42152E#FFFFFF#000000##FFFFFF
##42152E1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42152e;
/* rgb */ color: rgb(66, 21, 46);
/* oklch */ color: oklch(27.7% 0.077 348.9);
Tailwind
colors: {
  custom: {
    50: '#785566',
    500: '#42152e',
    950: '#000000',
  },
}
SCSS
$custom: #42152e;
$custom-light: #785566;
$custom-dark: #000000;
JSON
{
  "hex": "#42152e",
  "rgb": {
    "r": 66,
    "g": 21,
    "b": 46
  },
  "hsl": {
    "h": 326.667,
    "s": 51.724,
    "l": 17.059
  },
  "oklch": {
    "l": 0.27656,
    "c": 0.07687,
    "h": 348.9
  },
  "luminance": 0.01892
}

Semantic roles & 50–950 ramp

primary
#42152E
secondary
#397A56
accent
#DB8C4D
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #42152E

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

Preview Lab → · Contrast checker → · Palette generator →

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