#52142E#52142E

#52142E is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.5% C 0.095 H 358.8°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#52142E
RGBrgb(82, 20, 46)
HSLhsl(335, 61%, 20%)
HSVhsv(335, 76%, 32%)
CMYKcmyk(0%, 75.6%, 43.9%, 67.8%)
CIE-LABlab(17.88, 31.05, -0.92)
CIE-LCHlch(17.88, 31.07, 358.31°)
OKLaboklab(30.45% 0.0952 -0.002)
OKLCHoklch(30.45% 0.095 358.8)
XYZxyz(4.2233, 2.4919, 2.8428)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52142E #145238
analogous
#52144D #52142E #521914
triadic
#52142E #2E5214 #142E52
tetradic
#52142E #4D5214 #145238 #191452
square
#52142E #4D5214 #145238 #191452
split-complementary
#52142E #145219 #144D52
monochromatic
#19060E #210812 #52142E #83204A #B42C65

Accessibility & contrast

On white

14.02
#52142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52142E
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52142E#FFFFFF#000000##FFFFFF
##52142E1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242F
Deuteranopia (green-blind)
#31302D
Tritanopia (blue-blind)
#590D1F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #52142e;
/* rgb */ color: rgb(82, 20, 46);
/* oklch */ color: oklch(30.5% 0.095 358.8);
Tailwind
colors: {
  custom: {
    50: '#865766',
    500: '#52142e',
    950: '#000000',
  },
}
SCSS
$custom: #52142e;
$custom-light: #865766;
$custom-dark: #000000;
JSON
{
  "hex": "#52142e",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 334.839,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.30454,
    "c": 0.09517,
    "h": 358.8
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#52142E
secondary
#388A68
accent
#E4A144
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #52142E

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

Preview Lab → · Contrast checker → · Palette generator →

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