#42052A#42052A

#42052A is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.6% C 0.098 H 349.4°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#42052A
RGBrgb(66, 5, 42)
HSLhsl(324, 86%, 14%)
HSVhsv(324, 92%, 26%)
CMYKcmyk(0%, 92.4%, 36.4%, 74.1%)
CIE-LABlab(12.18, 31.44, -6.88)
CIE-LCHlch(12.18, 32.18, 347.65°)
OKLaboklab(25.6% 0.0964 -0.018)
OKLCHoklch(25.6% 0.098 349.4)
XYZxyz(2.7191, 1.4343, 2.3237)
Luminance0.0143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42052A #05421D
analogous
#3C0542 #42052A #42050C
triadic
#42052A #2A4205 #052A42
tetradic
#42052A #423C05 #05421D #050C42
square
#42052A #423C05 #05421D #050C42
split-complementary
#42052A #0C4205 #05423C
monochromatic
#1C0212 #1C0212 #42052A #7B094E #B40E72

Accessibility & contrast

On white

16.32
#42052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#42052A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42052A
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42052A#FFFFFF#000000##FFFFFF
##42052A1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10192B
Deuteranopia (green-blind)
#222429
Tritanopia (blue-blind)
#480217
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #42052a;
/* rgb */ color: rgb(66, 5, 42);
/* oklch */ color: oklch(25.6% 0.098 349.4);
Tailwind
colors: {
  custom: {
    50: '#7a4d63',
    500: '#42052a',
    950: '#000000',
  },
}
SCSS
$custom: #42052a;
$custom-light: #7a4d63;
$custom-dark: #000000;
JSON
{
  "hex": "#42052a",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 323.607,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25599,
    "c": 0.09802,
    "h": 349.4
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#42052A
secondary
#208247
accent
#FC7E2C
background
#F7F4F5
surface
#EEE7EA
border
#C9C3C6
text
#090205
muted
#7B7879

Preview Lab

Preview with #42052A

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

Preview Lab → · Contrast checker → · Palette generator →

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