#42162F#42162F

#42162F is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.9% C 0.076 H 347.9°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#42162F
RGBrgb(66, 22, 47)
HSLhsl(326, 50%, 17%)
HSVhsv(326, 67%, 26%)
CMYKcmyk(0%, 66.7%, 28.8%, 74.1%)
CIE-LABlab(15.16, 24.54, -6.03)
CIE-LCHlch(15.16, 25.27, 346.20°)
OKLaboklab(27.85% 0.0741 -0.0158)
OKLCHoklch(27.85% 0.076 347.9)
XYZxyz(3.0469, 1.9376, 2.9023)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42162F #164229
analogous
#3F1642 #42162F #421619
triadic
#42162F #2F4216 #162F42
tetradic
#42162F #423F16 #164229 #161942
square
#42162F #423F16 #164229 #161942
split-complementary
#42162F #194216 #16423F
monochromatic
#170810 #170810 #42162F #702550 #9E3570

Accessibility & contrast

On white

15.14
#42162F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42162F
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42162F#FFFFFF#000000##FFFFFF
##42162F1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2130
Deuteranopia (green-blind)
#27292E
Tritanopia (blue-blind)
#471520
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #42162f;
/* rgb */ color: rgb(66, 22, 47);
/* oklch */ color: oklch(27.9% 0.076 347.9);
Tailwind
colors: {
  custom: {
    50: '#785667',
    500: '#42162f',
    950: '#000000',
  },
}
SCSS
$custom: #42162f;
$custom-light: #785667;
$custom-dark: #000000;
JSON
{
  "hex": "#42162f",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 47
  },
  "hsl": {
    "h": 325.909,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27852,
    "c": 0.07575,
    "h": 347.9
  },
  "luminance": 0.01937
}

Semantic roles & 50–950 ramp

primary
#42162F
secondary
#3A7956
accent
#DA8A4E
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #42162F

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

Preview Lab → · Contrast checker → · Palette generator →

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