#42162C#42162C

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

Color values

HEX#42162C
RGBrgb(66, 22, 44)
HSLhsl(330, 50%, 17%)
HSVhsv(330, 67%, 26%)
CMYKcmyk(0%, 66.7%, 33.3%, 74.1%)
CIE-LABlab(15.03, 24.06, -4.05)
CIE-LCHlch(15.03, 24.40, 350.44°)
OKLaboklab(27.72% 0.073 -0.0104)
OKLCHoklch(27.72% 0.074 351.9)
XYZxyz(2.9884, 1.9142, 2.5945)
Luminance0.0191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42162C #16422C
analogous
#421642 #42162C #421616
triadic
#42162C #2C4216 #162C42
tetradic
#42162C #424216 #16422C #161642
square
#42162C #424216 #16422C #161642
split-complementary
#42162C #164216 #164242
monochromatic
#17080F #17080F #42162C #70254B #9E3569

Accessibility & contrast

On white

15.19
#42162C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42162C
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42162C#FFFFFF#000000##FFFFFF
##42162C1.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42162c;
/* rgb */ color: rgb(66, 22, 44);
/* oklch */ color: oklch(27.7% 0.074 351.9);
Tailwind
colors: {
  custom: {
    50: '#785665',
    500: '#42162c',
    950: '#000000',
  },
}
SCSS
$custom: #42162c;
$custom-light: #785665;
$custom-dark: #000000;
JSON
{
  "hex": "#42162c",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 44
  },
  "hsl": {
    "h": 330,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27717,
    "c": 0.07378,
    "h": 351.9
  },
  "luminance": 0.01914
}

Semantic roles & 50–950 ramp

primary
#42162C
secondary
#3A795A
accent
#DA944E
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090305
muted
#7B787A

Preview Lab

Preview with #42162C

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

Preview Lab → · Contrast checker → · Palette generator →

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