#52263B#52263B

#52263B is a dark, moderate pink. Relative luminance 0.035; OKLCH L 33.6% C 0.071 H 351.7°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#52263B
RGBrgb(82, 38, 59)
HSLhsl(331, 37%, 24%)
HSVhsv(331, 54%, 32%)
CMYKcmyk(0%, 53.7%, 28%, 67.8%)
CIE-LABlab(21.93, 23.38, -4.01)
CIE-LCHlch(21.93, 23.72, 350.28°)
OKLaboklab(33.63% 0.0705 -0.0103)
OKLCHoklch(33.63% 0.071 351.7)
XYZxyz(4.9624, 3.4962, 4.5503)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52263B #26523D
analogous
#522651 #52263B #522726
triadic
#52263B #3B5226 #263B52
tetradic
#52263B #515226 #26523D #272652
square
#52263B #515226 #26523D #272652
split-complementary
#52263B #265227 #265152
monochromatic
#150A0F #28131D #52263B #7C3959 #A64D77

Accessibility & contrast

On white

12.36
#52263B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#52263B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52263B
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52263B#FFFFFF#000000##FFFFFF
##52263B1.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B303C
Deuteranopia (green-blind)
#37373A
Tritanopia (blue-blind)
#58242E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #52263b;
/* rgb */ color: rgb(82, 38, 59);
/* oklch */ color: oklch(33.6% 0.071 351.7);
Tailwind
colors: {
  custom: {
    50: '#846270',
    500: '#52263b',
    950: '#000000',
  },
}
SCSS
$custom: #52263b;
$custom-light: #846270;
$custom-dark: #000000;
JSON
{
  "hex": "#52263b",
  "rgb": {
    "r": 82,
    "g": 38,
    "b": 59
  },
  "hsl": {
    "h": 331.364,
    "s": 36.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33627,
    "c": 0.07123,
    "h": 351.7
  },
  "luminance": 0.03496
}

Semantic roles & 50–950 ramp

primary
#52263B
secondary
#4F856B
accent
#CD965B
background
#F8F5F6
surface
#EFEAEC
border
#CAC6C7
text
#0B0507
muted
#7C797A

Preview Lab

Preview with #52263B

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

Preview Lab → · Contrast checker → · Palette generator →

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