#52304B#52304B

#52304B is a dark, moderate pink. Relative luminance 0.044; OKLCH L 36.2% C 0.064 H 334.7°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#52304B
RGBrgb(82, 48, 75)
HSLhsl(312, 26%, 25%)
HSVhsv(312, 41%, 32%)
CMYKcmyk(0%, 41.5%, 8.5%, 67.8%)
CIE-LABlab(25.00, 20.19, -10.19)
CIE-LCHlch(25.00, 22.62, 333.22°)
OKLaboklab(36.15% 0.0579 -0.0274)
OKLCHoklch(36.15% 0.064 334.7)
XYZxyz(5.8066, 4.4160, 7.2018)
Luminance0.0442 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52304B #305237
analogous
#483052 #52304B #52303A
triadic
#52304B #4B5230 #304B52
tetradic
#52304B #524830 #305237 #303A52
square
#52304B #524830 #305237 #303A52
split-complementary
#52304B #3A5230 #305248
monochromatic
#130B12 #2B1928 #52304B #79476E #9F5D92

Accessibility & contrast

On white

11.15
#52304B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#52304B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52304B
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52304B#FFFFFF#000000##FFFFFF
##52304B1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30384C
Deuteranopia (green-blind)
#393D4A
Tritanopia (blue-blind)
#55313A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #52304b;
/* rgb */ color: rgb(82, 48, 75);
/* oklch */ color: oklch(36.2% 0.064 334.7);
Tailwind
colors: {
  custom: {
    50: '#83697d',
    500: '#52304b',
    950: '#000000',
  },
}
SCSS
$custom: #52304b;
$custom-light: #83697d;
$custom-dark: #000000;
JSON
{
  "hex": "#52304b",
  "rgb": {
    "r": 82,
    "g": 48,
    "b": 75
  },
  "hsl": {
    "h": 312.353,
    "s": 26.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.36151,
    "c": 0.06409,
    "h": 334.7
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#52304B
secondary
#5B8363
accent
#C37865
background
#F8F6F7
surface
#EFEBEE
border
#CAC6C9
text
#0B0609
muted
#7C7A7B

Preview Lab

Preview with #52304B

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

Preview Lab → · Contrast checker → · Palette generator →

#52304B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva