#52223D#52223D

#52223D is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.0% C 0.080 H 347.5°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#52223D
RGBrgb(82, 34, 61)
HSLhsl(326, 41%, 23%)
HSVhsv(326, 59%, 32%)
CMYKcmyk(0%, 58.5%, 25.6%, 67.8%)
CIE-LABlab(21.11, 26.04, -6.61)
CIE-LCHlch(21.11, 26.87, 345.77°)
OKLaboklab(33.04% 0.0783 -0.0173)
OKLCHoklch(33.04% 0.08 347.5)
XYZxyz(4.8942, 3.2752, 4.7884)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52223D #225237
analogous
#4F2252 #52223D #522225
triadic
#52223D #3D5222 #223D52
tetradic
#52223D #524F22 #225237 #222552
square
#52223D #524F22 #225237 #222552
split-complementary
#52223D #255222 #22524F
monochromatic
#160910 #27101D #52223D #7D345D #A9467D

Accessibility & contrast

On white

12.69
#52223D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#52223D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52223D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52223D#FFFFFF#000000##FFFFFF
##52223D1.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272E3E
Deuteranopia (green-blind)
#34363C
Tritanopia (blue-blind)
#57212C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #52223d;
/* rgb */ color: rgb(82, 34, 61);
/* oklch */ color: oklch(33.0% 0.080 347.5);
Tailwind
colors: {
  custom: {
    50: '#845f72',
    500: '#52223d',
    950: '#000000',
  },
}
SCSS
$custom: #52223d;
$custom-light: #845f72;
$custom-dark: #000000;
JSON
{
  "hex": "#52223d",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 61
  },
  "hsl": {
    "h": 326.25,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33041,
    "c": 0.08015,
    "h": 347.5
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#52223D
secondary
#4A8664
accent
#D18C57
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #52223D

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

Preview Lab → · Contrast checker → · Palette generator →

#52223D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva