#42052C#42052C

#42052C is a dark, moderate pink. Relative luminance 0.014; OKLCH L 25.7% C 0.099 H 347.4°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#42052C
RGBrgb(66, 5, 44)
HSLhsl(322, 86%, 14%)
HSVhsv(322, 92%, 26%)
CMYKcmyk(0%, 92.4%, 33.3%, 74.1%)
CIE-LABlab(12.28, 31.71, -8.21)
CIE-LCHlch(12.28, 32.76, 345.48°)
OKLaboklab(25.7% 0.0969 -0.0217)
OKLCHoklch(25.7% 0.099 347.4)
XYZxyz(2.7558, 1.4490, 2.5169)
Luminance0.0145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42052C #05421B
analogous
#3A0542 #42052C #42050E
triadic
#42052C #2C4205 #052C42
tetradic
#42052C #423A05 #05421B #050E42
square
#42052C #423A05 #05421B #050E42
split-complementary
#42052C #0E4205 #05423A
monochromatic
#1C0213 #1C0213 #42052C #7B0952 #B40E78

Accessibility & contrast

On white

16.28
#42052C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42052C
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42052C#FFFFFF#000000##FFFFFF
##42052C1.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F192D
Deuteranopia (green-blind)
#21242B
Tritanopia (blue-blind)
#470318
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #42052c;
/* rgb */ color: rgb(66, 5, 44);
/* oklch */ color: oklch(25.7% 0.099 347.4);
Tailwind
colors: {
  custom: {
    50: '#7a4e65',
    500: '#42052c',
    950: '#000000',
  },
}
SCSS
$custom: #42052c;
$custom-light: #7a4e65;
$custom-dark: #000000;
JSON
{
  "hex": "#42052c",
  "rgb": {
    "r": 66,
    "g": 5,
    "b": 44
  },
  "hsl": {
    "h": 321.639,
    "s": 85.915,
    "l": 13.922
  },
  "oklch": {
    "l": 0.257,
    "c": 0.09926,
    "h": 347.4
  },
  "luminance": 0.01449
}

Semantic roles & 50–950 ramp

primary
#42052C
secondary
#208244
accent
#FC772C
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#090205
muted
#7B787A

Preview Lab

Preview with #42052C

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

Preview Lab → · Contrast checker → · Palette generator →

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