#42162E#42162E

#42162E is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.8% C 0.075 H 349.2°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#42162E
RGBrgb(66, 22, 46)
HSLhsl(327, 50%, 17%)
HSVhsv(327, 67%, 26%)
CMYKcmyk(0%, 66.7%, 30.3%, 74.1%)
CIE-LABlab(15.11, 24.38, -5.37)
CIE-LCHlch(15.11, 24.96, 347.58°)
OKLaboklab(27.81% 0.0737 -0.014)
OKLCHoklch(27.81% 0.075 349.2)
XYZxyz(3.0269, 1.9296, 2.7973)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42162E #16422A
analogous
#401642 #42162E #421618
triadic
#42162E #2E4216 #162E42
tetradic
#42162E #424016 #16422A #161842
square
#42162E #424016 #16422A #161842
split-complementary
#42162E #184216 #164240
monochromatic
#170810 #170810 #42162E #70254E #9E356E

Accessibility & contrast

On white

15.15
#42162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#42162E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42162E
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42162E#FFFFFF#000000##FFFFFF
##42162E1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B212F
Deuteranopia (green-blind)
#27292D
Tritanopia (blue-blind)
#471420
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #42162e;
/* rgb */ color: rgb(66, 22, 46);
/* oklch */ color: oklch(27.8% 0.075 349.2);
Tailwind
colors: {
  custom: {
    50: '#785666',
    500: '#42162e',
    950: '#000000',
  },
}
SCSS
$custom: #42162e;
$custom-light: #785666;
$custom-dark: #000000;
JSON
{
  "hex": "#42162e",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 327.273,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27806,
    "c": 0.07506,
    "h": 349.2
  },
  "luminance": 0.01929
}

Semantic roles & 50–950 ramp

primary
#42162E
secondary
#3A7957
accent
#DA8E4E
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #42162E

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

Preview Lab → · Contrast checker → · Palette generator →

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