#42142D#42142D

#42142D is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.5% C 0.078 H 349.8°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#42142D
RGBrgb(66, 20, 45)
HSLhsl(327, 53%, 17%)
HSVhsv(327, 70%, 26%)
CMYKcmyk(0%, 69.7%, 31.8%, 74.1%)
CIE-LABlab(14.67, 25.30, -5.32)
CIE-LCHlch(14.67, 25.85, 348.14°)
OKLaboklab(27.46% 0.0767 -0.0139)
OKLCHoklch(27.46% 0.078 349.8)
XYZxyz(2.9707, 1.8483, 2.6824)
Luminance0.0185 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42142D #144229
analogous
#401442 #42142D #421416
triadic
#42142D #2D4214 #142D42
tetradic
#42142D #424014 #144229 #141642
square
#42142D #424014 #144229 #141642
split-complementary
#42142D #164214 #144240
monochromatic
#170710 #170710 #42142D #71224D #A0306D

Accessibility & contrast

On white

15.33
#42142D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42142D
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42142D#FFFFFF#000000##FFFFFF
##42142D1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202E
Deuteranopia (green-blind)
#27282C
Tritanopia (blue-blind)
#47121E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42142d;
/* rgb */ color: rgb(66, 20, 45);
/* oklch */ color: oklch(27.5% 0.078 349.8);
Tailwind
colors: {
  custom: {
    50: '#785565',
    500: '#42142d',
    950: '#000000',
  },
}
SCSS
$custom: #42142d;
$custom-light: #785565;
$custom-dark: #000000;
JSON
{
  "hex": "#42142d",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 45
  },
  "hsl": {
    "h": 327.391,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27464,
    "c": 0.07797,
    "h": 349.8
  },
  "luminance": 0.01848
}

Semantic roles & 50–950 ramp

primary
#42142D
secondary
#387A56
accent
#DD8E4B
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090305
muted
#7B787A

Preview Lab

Preview with #42142D

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

Preview Lab → · Contrast checker → · Palette generator →

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