#42162B#42162B

#42162B is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.7% C 0.073 H 353.2°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#42162B
RGBrgb(66, 22, 43)
HSLhsl(331, 50%, 17%)
HSVhsv(331, 67%, 26%)
CMYKcmyk(0%, 66.7%, 34.8%, 74.1%)
CIE-LABlab(14.99, 23.91, -3.39)
CIE-LCHlch(14.99, 24.14, 351.93°)
OKLaboklab(27.67% 0.0727 -0.0087)
OKLCHoklch(27.67% 0.073 353.2)
XYZxyz(2.9699, 1.9068, 2.4967)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42162B #16422D
analogous
#421641 #42162B #421716
triadic
#42162B #2B4216 #162B42
tetradic
#42162B #414216 #16422D #171642
square
#42162B #414216 #16422D #171642
split-complementary
#42162B #164217 #164142
monochromatic
#17080F #17080F #42162B #702549 #9E3567

Accessibility & contrast

On white

15.20
#42162B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#42162B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42162B
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42162B#FFFFFF#000000##FFFFFF
##42162B1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C212C
Deuteranopia (green-blind)
#28292A
Tritanopia (blue-blind)
#47141E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #42162b;
/* rgb */ color: rgb(66, 22, 43);
/* oklch */ color: oklch(27.7% 0.073 353.2);
Tailwind
colors: {
  custom: {
    50: '#785664',
    500: '#42162b',
    950: '#000000',
  },
}
SCSS
$custom: #42162b;
$custom-light: #785664;
$custom-dark: #000000;
JSON
{
  "hex": "#42162b",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 43
  },
  "hsl": {
    "h": 331.364,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27674,
    "c": 0.07319,
    "h": 353.2
  },
  "luminance": 0.01906
}

Semantic roles & 50–950 ramp

primary
#42162B
secondary
#3A795B
accent
#DA974E
background
#F7F5F5
surface
#EDE9EA
border
#C8C5C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #42162B

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

Preview Lab → · Contrast checker → · Palette generator →

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