#42142B#42142B

#42142B is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.4% C 0.077 H 352.3°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#42142B
RGBrgb(66, 20, 43)
HSLhsl(330, 53%, 17%)
HSVhsv(330, 70%, 26%)
CMYKcmyk(0%, 69.7%, 34.8%, 74.1%)
CIE-LABlab(14.59, 24.99, -3.99)
CIE-LCHlch(14.59, 25.31, 350.93°)
OKLaboklab(27.38% 0.076 -0.0103)
OKLCHoklch(27.38% 0.077 352.3)
XYZxyz(2.9331, 1.8333, 2.4844)
Luminance0.0183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42142B #14422B
analogous
#421442 #42142B #421414
triadic
#42142B #2B4214 #142B42
tetradic
#42142B #424214 #14422B #141442
square
#42142B #424214 #14422B #141442
split-complementary
#42142B #144214 #144242
monochromatic
#17070F #17070F #42142B #71224A #A03068

Accessibility & contrast

On white

15.37
#42142B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#42142B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42142B
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42142B#FFFFFF#000000##FFFFFF
##42142B1.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B202C
Deuteranopia (green-blind)
#27282A
Tritanopia (blue-blind)
#47111D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42142b;
/* rgb */ color: rgb(66, 20, 43);
/* oklch */ color: oklch(27.4% 0.077 352.3);
Tailwind
colors: {
  custom: {
    50: '#795564',
    500: '#42142b',
    950: '#000000',
  },
}
SCSS
$custom: #42142b;
$custom-light: #795564;
$custom-dark: #000000;
JSON
{
  "hex": "#42142b",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 43
  },
  "hsl": {
    "h": 330,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27375,
    "c": 0.07673,
    "h": 352.3
  },
  "luminance": 0.01833
}

Semantic roles & 50–950 ramp

primary
#42142B
secondary
#387A59
accent
#DD944B
background
#F7F5F5
surface
#EDE9EA
border
#C8C5C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #42142B

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

Preview Lab → · Contrast checker → · Palette generator →

#42142B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva