#42142A#42142A

#42142A is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.3% C 0.076 H 353.6°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#42142A
RGBrgb(66, 20, 42)
HSLhsl(331, 53%, 17%)
HSVhsv(331, 70%, 26%)
CMYKcmyk(0%, 69.7%, 36.4%, 74.1%)
CIE-LABlab(14.55, 24.84, -3.32)
CIE-LCHlch(14.55, 25.06, 352.38°)
OKLaboklab(27.33% 0.0757 -0.0085)
OKLCHoklch(27.33% 0.076 353.6)
XYZxyz(2.9150, 1.8260, 2.3890)
Luminance0.0183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42142A #14422C
analogous
#421441 #42142A #421514
triadic
#42142A #2A4214 #142A42
tetradic
#42142A #414214 #14422C #151442
square
#42142A #414214 #14422C #151442
split-complementary
#42142A #144215 #144142
monochromatic
#17070F #17070F #42142A #712248 #A03066

Accessibility & contrast

On white

15.38
#42142A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42142A
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42142A#FFFFFF#000000##FFFFFF
##42142A1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1F2B
Deuteranopia (green-blind)
#282829
Tritanopia (blue-blind)
#47111D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #42142a;
/* rgb */ color: rgb(66, 20, 42);
/* oklch */ color: oklch(27.3% 0.076 353.6);
Tailwind
colors: {
  custom: {
    50: '#795563',
    500: '#42142a',
    950: '#000000',
  },
}
SCSS
$custom: #42142a;
$custom-light: #795563;
$custom-dark: #000000;
JSON
{
  "hex": "#42142a",
  "rgb": {
    "r": 66,
    "g": 20,
    "b": 42
  },
  "hsl": {
    "h": 331.304,
    "s": 53.488,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27331,
    "c": 0.07615,
    "h": 353.6
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#42142A
secondary
#387A5A
accent
#DD974B
background
#F7F5F5
surface
#EEE9EA
border
#C9C5C6
text
#090305
muted
#7B7879

Preview Lab

Preview with #42142A

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

Preview Lab → · Contrast checker → · Palette generator →

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