#52142B#52142B

#52142B is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.3% C 0.094 H 1.9°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#52142B
RGBrgb(82, 20, 43)
HSLhsl(338, 61%, 20%)
HSVhsv(338, 76%, 32%)
CMYKcmyk(0%, 75.6%, 47.6%, 67.8%)
CIE-LABlab(17.78, 30.70, 1.08)
CIE-LCHlch(17.78, 30.72, 2.01°)
OKLaboklab(30.34% 0.094 0.0031)
OKLCHoklch(30.34% 0.094 1.9)
XYZxyz(4.1662, 2.4691, 2.5422)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52142B #14523B
analogous
#52144A #52142B #521C14
triadic
#52142B #2B5214 #142B52
tetradic
#52142B #4A5214 #14523B #1C1452
square
#52142B #4A5214 #14523B #1C1452
split-complementary
#52142B #14521C #144A52
monochromatic
#19060D #210811 #52142B #832045 #B42C5F

Accessibility & contrast

On white

14.06
#52142B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#52142B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52142B
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52142B#FFFFFF#000000##FFFFFF
##52142B1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242C
Deuteranopia (green-blind)
#32302A
Tritanopia (blue-blind)
#5A0B1D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52142b;
/* rgb */ color: rgb(82, 20, 43);
/* oklch */ color: oklch(30.3% 0.094 1.9);
Tailwind
colors: {
  custom: {
    50: '#865764',
    500: '#52142b',
    950: '#000000',
  },
}
SCSS
$custom: #52142b;
$custom-light: #865764;
$custom-dark: #000000;
JSON
{
  "hex": "#52142b",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 43
  },
  "hsl": {
    "h": 337.742,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.30344,
    "c": 0.09402,
    "h": 1.9
  },
  "luminance": 0.02469
}

Semantic roles & 50–950 ramp

primary
#52142B
secondary
#388A6C
accent
#E4A944
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #52142B

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

Preview Lab → · Contrast checker → · Palette generator →

#52142B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva