#52233F#52233F

#52233F is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.3% C 0.080 H 345.6°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#52233F
RGBrgb(82, 35, 63)
HSLhsl(324, 40%, 23%)
HSVhsv(324, 57%, 32%)
CMYKcmyk(0%, 57.3%, 23.2%, 67.8%)
CIE-LABlab(21.41, 25.81, -7.53)
CIE-LCHlch(21.41, 26.88, 343.74°)
OKLaboklab(33.29% 0.0772 -0.0199)
OKLCHoklch(33.29% 0.08 345.6)
XYZxyz(4.9780, 3.3552, 5.0871)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52233F #235236
analogous
#4D2352 #52233F #522327
triadic
#52233F #3F5223 #233F52
tetradic
#52233F #524D23 #235236 #232752
square
#52233F #524D23 #235236 #232752
split-complementary
#52233F #275223 #23524D
monochromatic
#150910 #27111E #52233F #7D3560 #A84881

Accessibility & contrast

On white

12.57
#52233F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#52233F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52233F
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52233F#FFFFFF#000000##FFFFFF
##52233F1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272E40
Deuteranopia (green-blind)
#34363E
Tritanopia (blue-blind)
#57222E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #52233f;
/* rgb */ color: rgb(82, 35, 63);
/* oklch */ color: oklch(33.3% 0.080 345.6);
Tailwind
colors: {
  custom: {
    50: '#846074',
    500: '#52233f',
    950: '#000000',
  },
}
SCSS
$custom: #52233f;
$custom-light: #846074;
$custom-dark: #000000;
JSON
{
  "hex": "#52233f",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 63
  },
  "hsl": {
    "h": 324.255,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33292,
    "c": 0.07971,
    "h": 345.6
  },
  "luminance": 0.03355
}

Semantic roles & 50–950 ramp

primary
#52233F
secondary
#4B8663
accent
#D08858
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #52233F

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

Preview Lab → · Contrast checker → · Palette generator →

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