#52122B#52122B

#52122B is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.1% C 0.097 H 1.2°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#52122B
RGBrgb(82, 18, 43)
HSLhsl(337, 64%, 20%)
HSVhsv(337, 78%, 32%)
CMYKcmyk(0%, 78%, 47.6%, 67.8%)
CIE-LABlab(17.47, 31.56, 0.62)
CIE-LCHlch(17.47, 31.57, 1.13°)
OKLaboklab(30.11% 0.0967 0.002)
OKLCHoklch(30.11% 0.097 1.2)
XYZxyz(4.1323, 2.4014, 2.5309)
Luminance0.0240 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52122B #125239
analogous
#52124B #52122B #521912
triadic
#52122B #2B5212 #122B52
tetradic
#52122B #4B5212 #125239 #191252
square
#52122B #4B5212 #125239 #191252
split-complementary
#52122B #125219 #124B52
monochromatic
#19060D #200711 #52122B #841D45 #B62860

Accessibility & contrast

On white

14.19
#52122B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#52122B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52122B
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52122B#FFFFFF#000000##FFFFFF
##52122B1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20232C
Deuteranopia (green-blind)
#312F2A
Tritanopia (blue-blind)
#5A091C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #52122b;
/* rgb */ color: rgb(82, 18, 43);
/* oklch */ color: oklch(30.1% 0.097 1.2);
Tailwind
colors: {
  custom: {
    50: '#865664',
    500: '#52122b',
    950: '#000000',
  },
}
SCSS
$custom: #52122b;
$custom-light: #865664;
$custom-dark: #000000;
JSON
{
  "hex": "#52122b",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 43
  },
  "hsl": {
    "h": 336.563,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30114,
    "c": 0.09675,
    "h": 1.2
  },
  "luminance": 0.02401
}

Semantic roles & 50–950 ramp

primary
#52122B
secondary
#358B69
accent
#E7A641
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #52122B

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

Preview Lab → · Contrast checker → · Palette generator →

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