#42162D#42162D

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

Color values

HEX#42162D
RGBrgb(66, 22, 45)
HSLhsl(329, 50%, 17%)
HSVhsv(329, 67%, 26%)
CMYKcmyk(0%, 66.7%, 31.8%, 74.1%)
CIE-LABlab(15.07, 24.22, -4.71)
CIE-LCHlch(15.07, 24.67, 348.99°)
OKLaboklab(27.76% 0.0734 -0.0122)
OKLCHoklch(27.76% 0.074 350.5)
XYZxyz(3.0075, 1.9218, 2.6947)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42162D #16422B
analogous
#411642 #42162D #421617
triadic
#42162D #2D4216 #162D42
tetradic
#42162D #424116 #16422B #161742
square
#42162D #424116 #16422B #161742
split-complementary
#42162D #174216 #164241
monochromatic
#170810 #170810 #42162D #70254C #9E356C

Accessibility & contrast

On white

15.17
#42162D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42162D
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42162D#FFFFFF#000000##FFFFFF
##42162D1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C212E
Deuteranopia (green-blind)
#28292C
Tritanopia (blue-blind)
#47141F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #42162d;
/* rgb */ color: rgb(66, 22, 45);
/* oklch */ color: oklch(27.8% 0.074 350.5);
Tailwind
colors: {
  custom: {
    50: '#785665',
    500: '#42162d',
    950: '#000000',
  },
}
SCSS
$custom: #42162d;
$custom-light: #785665;
$custom-dark: #000000;
JSON
{
  "hex": "#42162d",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 45
  },
  "hsl": {
    "h": 328.636,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27761,
    "c": 0.07441,
    "h": 350.5
  },
  "luminance": 0.01922
}

Semantic roles & 50–950 ramp

primary
#42162D
secondary
#3A7958
accent
#DA914E
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090305
muted
#7B787A

Preview Lab

Preview with #42162D

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

Preview Lab → · Contrast checker → · Palette generator →

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