#52212E#52212E

#52212E is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.3% C 0.075 H 5.5°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#52212E
RGBrgb(82, 33, 46)
HSLhsl(344, 43%, 23%)
HSVhsv(344, 60%, 32%)
CMYKcmyk(0%, 59.8%, 43.9%, 67.8%)
CIE-LABlab(20.36, 24.39, 2.68)
CIE-LCHlch(20.36, 24.54, 6.27°)
OKLaboklab(32.3% 0.0742 0.0072)
OKLCHoklch(32.3% 0.075 5.5)
XYZxyz(4.5169, 3.0793, 2.9407)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52212E #215245
analogous
#522146 #52212E #522D21
triadic
#52212E #2E5221 #212E52
tetradic
#52212E #465221 #215245 #2D2152
square
#52212E #465221 #215245 #2D2152
split-complementary
#52212E #21522D #214652
monochromatic
#16090C #260F16 #52212E #7E3346 #A9445F

Accessibility & contrast

On white

13.00
#52212E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#52212E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52212E
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52212E#FFFFFF#000000##FFFFFF
##52212E1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2E
Deuteranopia (green-blind)
#37352D
Tritanopia (blue-blind)
#591C26
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #52212e;
/* rgb */ color: rgb(82, 33, 46);
/* oklch */ color: oklch(32.3% 0.075 5.5);
Tailwind
colors: {
  custom: {
    50: '#855e66',
    500: '#52212e',
    950: '#000000',
  },
}
SCSS
$custom: #52212e;
$custom-light: #855e66;
$custom-dark: #000000;
JSON
{
  "hex": "#52212e",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 46
  },
  "hsl": {
    "h": 344.082,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32299,
    "c": 0.07455,
    "h": 5.5
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#52212E
secondary
#498676
accent
#D2B155
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #52212E

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

Preview Lab → · Contrast checker → · Palette generator →

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