#52223F#52223F

#52223F is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.1% C 0.082 H 345.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#52223F
RGBrgb(82, 34, 63)
HSLhsl(324, 41%, 23%)
HSVhsv(324, 59%, 32%)
CMYKcmyk(0%, 58.5%, 23.2%, 67.8%)
CIE-LABlab(21.20, 26.38, -7.86)
CIE-LCHlch(21.20, 27.52, 343.42°)
OKLaboklab(33.13% 0.0789 -0.0208)
OKLCHoklch(33.13% 0.082 345.2)
XYZxyz(4.9490, 3.2972, 5.0774)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52223F #225235
analogous
#4D2252 #52223F #522227
triadic
#52223F #3F5222 #223F52
tetradic
#52223F #524D22 #225235 #222752
square
#52223F #524D22 #225235 #222752
split-complementary
#52223F #275222 #22524D
monochromatic
#160911 #27101E #52223F #7D3460 #A94681

Accessibility & contrast

On white

12.66
#52223F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52223F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52223F#FFFFFF#000000##FFFFFF
##52223F1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262E40
Deuteranopia (green-blind)
#33363E
Tritanopia (blue-blind)
#57222D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #52223f;
/* rgb */ color: rgb(82, 34, 63);
/* oklch */ color: oklch(33.1% 0.082 345.2);
Tailwind
colors: {
  custom: {
    50: '#845f74',
    500: '#52223f',
    950: '#000000',
  },
}
SCSS
$custom: #52223f;
$custom-light: #845f74;
$custom-dark: #000000;
JSON
{
  "hex": "#52223f",
  "rgb": {
    "r": 82,
    "g": 34,
    "b": 63
  },
  "hsl": {
    "h": 323.75,
    "s": 41.379,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3313,
    "c": 0.0816,
    "h": 345.2
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#52223F
secondary
#4A8662
accent
#D18757
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #52223F

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

Preview Lab → · Contrast checker → · Palette generator →

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