#52122C#52122C

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

Color values

HEX#52122C
RGBrgb(82, 18, 44)
HSLhsl(336, 64%, 20%)
HSVhsv(336, 78%, 32%)
CMYKcmyk(0%, 78%, 46.3%, 67.8%)
CIE-LABlab(17.50, 31.68, -0.04)
CIE-LCHlch(17.50, 31.68, 359.92°)
OKLaboklab(30.15% 0.0971 0.0003)
OKLCHoklch(30.15% 0.097 0.1)
XYZxyz(4.1509, 2.4088, 2.6287)
Luminance0.0241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52122C #125238
analogous
#52124C #52122C #521812
triadic
#52122C #2C5212 #122C52
tetradic
#52122C #4C5212 #125238 #181252
square
#52122C #4C5212 #125238 #181252
split-complementary
#52122C #125218 #124C52
monochromatic
#19060D #200711 #52122C #841D47 #B62862

Accessibility & contrast

On white

14.17
#52122C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52122C
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52122C#FFFFFF#000000##FFFFFF
##52122C1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F232D
Deuteranopia (green-blind)
#312F2B
Tritanopia (blue-blind)
#59091D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#52122C
secondary
#358B68
accent
#E7A341
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #52122C

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

Preview Lab → · Contrast checker → · Palette generator →

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