#52233E#52233E

#52233E is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.2% C 0.079 H 346.7°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#52233E
RGBrgb(82, 35, 62)
HSLhsl(326, 40%, 23%)
HSVhsv(326, 57%, 32%)
CMYKcmyk(0%, 57.3%, 24.4%, 67.8%)
CIE-LABlab(21.37, 25.64, -6.90)
CIE-LCHlch(21.37, 26.55, 344.93°)
OKLaboklab(33.25% 0.0769 -0.0182)
OKLCHoklch(33.25% 0.079 346.7)
XYZxyz(4.9503, 3.3441, 4.9413)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52233E #235237
analogous
#4E2352 #52233E #522326
triadic
#52233E #3E5223 #233E52
tetradic
#52233E #524E23 #235237 #232652
square
#52233E #524E23 #235237 #232652
split-complementary
#52233E #265223 #23524E
monochromatic
#150910 #27111E #52233E #7D355E #A8487F

Accessibility & contrast

On white

12.58
#52233E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52233E
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52233E#FFFFFF#000000##FFFFFF
##52233E1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52233e;
/* rgb */ color: rgb(82, 35, 62);
/* oklch */ color: oklch(33.2% 0.079 346.7);
Tailwind
colors: {
  custom: {
    50: '#846073',
    500: '#52233e',
    950: '#000000',
  },
}
SCSS
$custom: #52233e;
$custom-light: #846073;
$custom-dark: #000000;
JSON
{
  "hex": "#52233e",
  "rgb": {
    "r": 82,
    "g": 35,
    "b": 62
  },
  "hsl": {
    "h": 325.532,
    "s": 40.171,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33248,
    "c": 0.07898,
    "h": 346.7
  },
  "luminance": 0.03344
}

Semantic roles & 50–950 ramp

primary
#52233E
secondary
#4B8664
accent
#D08B58
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #52233E

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

Preview Lab → · Contrast checker → · Palette generator →

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