#42142E#42142E

#42142E is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.5% C 0.079 H 348.5°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#42142E
RGBrgb(66, 20, 46)
HSLhsl(326, 53%, 17%)
HSVhsv(326, 70%, 26%)
CMYKcmyk(0%, 69.7%, 30.3%, 74.1%)
CIE-LABlab(14.71, 25.46, -5.97)
CIE-LCHlch(14.71, 26.15, 346.79°)
OKLaboklab(27.51% 0.0771 -0.0157)
OKLCHoklch(27.51% 0.079 348.5)
XYZxyz(2.9902, 1.8561, 2.7850)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42142E #144228
analogous
#3F1442 #42142E #421417
triadic
#42142E #2E4214 #142E42
tetradic
#42142E #423F14 #144228 #141742
square
#42142E #423F14 #144228 #141742
split-complementary
#42142E #174214 #14423F
monochromatic
#170710 #170710 #42142E #71224F #A0306F

Accessibility & contrast

On white

15.32
#42142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42142E
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42142E#FFFFFF#000000##FFFFFF
##42142E1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A202F
Deuteranopia (green-blind)
#26282D
Tritanopia (blue-blind)
#47121F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42142e;
/* rgb */ color: rgb(66, 20, 46);
/* oklch */ color: oklch(27.5% 0.079 348.5);
Tailwind
colors: {
  custom: {
    50: '#785566',
    500: '#42142e',
    950: '#000000',
  },
}
SCSS
$custom: #42142e;
$custom-light: #785566;
$custom-dark: #000000;
JSON
{
  "hex": "#42142e",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 326.087,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2751,
    "c": 0.07864,
    "h": 348.5
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#42142E
secondary
#387A55
accent
#DD8A4B
background
#F7F5F6
surface
#EDE9EB
border
#C8C5C6
text
#090306
muted
#7B787A

Preview Lab

Preview with #42142E

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

Preview Lab → · Contrast checker → · Palette generator →

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