#42142C#42142C

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

Color values

HEX#42142C
RGBrgb(66, 20, 44)
HSLhsl(329, 53%, 17%)
HSVhsv(329, 70%, 26%)
CMYKcmyk(0%, 69.7%, 33.3%, 74.1%)
CIE-LABlab(14.63, 25.14, -4.65)
CIE-LCHlch(14.63, 25.57, 349.51°)
OKLaboklab(27.42% 0.0764 -0.0121)
OKLCHoklch(27.42% 0.077 351)
XYZxyz(2.9517, 1.8407, 2.5822)
Luminance0.0184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42142C #14422A
analogous
#411442 #42142C #421415
triadic
#42142C #2C4214 #142C42
tetradic
#42142C #424114 #14422A #141542
square
#42142C #424114 #14422A #141542
split-complementary
#42142C #154214 #144241
monochromatic
#170710 #170710 #42142C #71224B #A0306B

Accessibility & contrast

On white

15.35
#42142C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42142C
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42142C#FFFFFF#000000##FFFFFF
##42142C1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42142c;
/* rgb */ color: rgb(66, 20, 44);
/* oklch */ color: oklch(27.4% 0.077 351.0);
Tailwind
colors: {
  custom: {
    50: '#795565',
    500: '#42142c',
    950: '#000000',
  },
}
SCSS
$custom: #42142c;
$custom-light: #795565;
$custom-dark: #000000;
JSON
{
  "hex": "#42142c",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 44
  },
  "hsl": {
    "h": 328.696,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27419,
    "c": 0.07734,
    "h": 351
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#42142C
secondary
#387A57
accent
#DD914B
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090305
muted
#7B787A

Preview Lab

Preview with #42142C

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

Preview Lab → · Contrast checker → · Palette generator →

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