#52142C#52142C

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

Color values

HEX#52142C
RGBrgb(82, 20, 44)
HSLhsl(337, 61%, 20%)
HSVhsv(337, 76%, 32%)
CMYKcmyk(0%, 75.6%, 46.3%, 67.8%)
CIE-LABlab(17.81, 30.81, 0.41)
CIE-LCHlch(17.81, 30.82, 0.76°)
OKLaboklab(30.38% 0.0944 0.0014)
OKLCHoklch(30.38% 0.094 0.9)
XYZxyz(4.1848, 2.4765, 2.6400)
Luminance0.0248 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52142C #14523A
analogous
#52144B #52142C #521B14
triadic
#52142C #2C5214 #142C52
tetradic
#52142C #4B5214 #14523A #1B1452
square
#52142C #4B5214 #14523A #1B1452
split-complementary
#52142C #14521B #144B52
monochromatic
#19060D #210812 #52142C #832046 #B42C61

Accessibility & contrast

On white

14.04
#52142C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#52142C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52142C
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52142C#FFFFFF#000000##FFFFFF
##52142C1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242D
Deuteranopia (green-blind)
#31302B
Tritanopia (blue-blind)
#590C1E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52142c;
/* rgb */ color: rgb(82, 20, 44);
/* oklch */ color: oklch(30.4% 0.094 0.9);
Tailwind
colors: {
  custom: {
    50: '#865764',
    500: '#52142c',
    950: '#000000',
  },
}
SCSS
$custom: #52142c;
$custom-light: #865764;
$custom-dark: #000000;
JSON
{
  "hex": "#52142c",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 44
  },
  "hsl": {
    "h": 336.774,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.3038,
    "c": 0.09438,
    "h": 0.9
  },
  "luminance": 0.02476
}

Semantic roles & 50–950 ramp

primary
#52142C
secondary
#388A6A
accent
#E4A644
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #52142C

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

Preview Lab → · Contrast checker → · Palette generator →

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