#52273F#52273F

#52273F is a dark, moderate pink. Relative luminance 0.036; OKLCH L 34.0% C 0.072 H 347.0°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#52273F
RGBrgb(82, 39, 63)
HSLhsl(327, 36%, 24%)
HSVhsv(327, 52%, 32%)
CMYKcmyk(0%, 52.4%, 23.2%, 67.8%)
CIE-LABlab(22.32, 23.46, -6.16)
CIE-LCHlch(22.32, 24.25, 345.28°)
OKLaboklab(33.97% 0.0701 -0.0162)
OKLCHoklch(33.97% 0.072 347)
XYZxyz(5.1025, 3.6042, 5.1286)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52273F #27523A
analogous
#4F2752 #52273F #522729
triadic
#52273F #3F5227 #273F52
tetradic
#52273F #524F27 #27523A #272952
square
#52273F #524F27 #27523A #272952
split-complementary
#52273F #295227 #27524F
monochromatic
#150A10 #29131F #52273F #7B3B5F #A54E7F

Accessibility & contrast

On white

12.20
#52273F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#52273F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52273F
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52273F#FFFFFF#000000##FFFFFF
##52273F1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3140
Deuteranopia (green-blind)
#36383E
Tritanopia (blue-blind)
#572630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #52273f;
/* rgb */ color: rgb(82, 39, 63);
/* oklch */ color: oklch(34.0% 0.072 347.0);
Tailwind
colors: {
  custom: {
    50: '#846374',
    500: '#52273f',
    950: '#000000',
  },
}
SCSS
$custom: #52273f;
$custom-light: #846374;
$custom-dark: #000000;
JSON
{
  "hex": "#52273f",
  "rgb": {
    "r": 82,
    "g": 39,
    "b": 63
  },
  "hsl": {
    "h": 326.512,
    "s": 35.537,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33968,
    "c": 0.07198,
    "h": 347
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#52273F
secondary
#508567
accent
#CC8D5C
background
#F8F5F7
surface
#EFEAED
border
#CAC6C8
text
#0B0508
muted
#7C797B

Preview Lab

Preview with #52273F

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

Preview Lab → · Contrast checker → · Palette generator →

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