#42162A#42162A

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

Color values

HEX#42162A
RGBrgb(66, 22, 42)
HSLhsl(333, 50%, 17%)
HSVhsv(333, 67%, 26%)
CMYKcmyk(0%, 66.7%, 36.4%, 74.1%)
CIE-LABlab(14.95, 23.75, -2.72)
CIE-LCHlch(14.95, 23.91, 353.46°)
OKLaboklab(27.63% 0.0723 -0.0069)
OKLCHoklch(27.63% 0.073 354.6)
XYZxyz(2.9517, 1.8995, 2.4012)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42162A #16422E
analogous
#421640 #42162A #421816
triadic
#42162A #2A4216 #162A42
tetradic
#42162A #404216 #16422E #181642
square
#42162A #404216 #16422E #181642
split-complementary
#42162A #164218 #164042
monochromatic
#17080F #17080F #42162A #702547 #9E3564

Accessibility & contrast

On white

15.22
#42162A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42162A
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42162A#FFFFFF#000000##FFFFFF
##42162A1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D212B
Deuteranopia (green-blind)
#282929
Tritanopia (blue-blind)
#47131E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #42162a;
/* rgb */ color: rgb(66, 22, 42);
/* oklch */ color: oklch(27.6% 0.073 354.6);
Tailwind
colors: {
  custom: {
    50: '#785663',
    500: '#42162a',
    950: '#000000',
  },
}
SCSS
$custom: #42162a;
$custom-light: #785663;
$custom-dark: #000000;
JSON
{
  "hex": "#42162a",
  "rgb": {
    "r": 66,
    "g": 22,
    "b": 42
  },
  "hsl": {
    "h": 332.727,
    "s": 50,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27632,
    "c": 0.07263,
    "h": 354.6
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#42162A
secondary
#3A795D
accent
#DA9A4E
background
#F7F5F5
surface
#EDE9EA
border
#C8C5C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #42162A

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

Preview Lab → · Contrast checker → · Palette generator →

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