#52283A#52283A

#52283A is a dark, moderate pink. Relative luminance 0.036; OKLCH L 33.9% C 0.067 H 354.2°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#52283A
RGBrgb(82, 40, 58)
HSLhsl(334, 34%, 24%)
HSVhsv(334, 51%, 32%)
CMYKcmyk(0%, 51.2%, 29.3%, 67.8%)
CIE-LABlab(22.36, 22.02, -2.68)
CIE-LCHlch(22.36, 22.18, 353.06°)
OKLaboklab(33.94% 0.0665 -0.0068)
OKLCHoklch(33.94% 0.067 354.2)
XYZxyz(5.0023, 3.6173, 4.4369)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52283A #285240
analogous
#52284F #52283A #522B28
triadic
#52283A #3A5228 #283A52
tetradic
#52283A #4F5228 #285240 #2B2852
square
#52283A #4F5228 #285240 #2B2852
split-complementary
#52283A #28522B #284F52
monochromatic
#150A0F #29141D #52283A #7B3C57 #A45074

Accessibility & contrast

On white

12.19
#52283A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#52283A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52283A
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52283A#FFFFFF#000000##FFFFFF
##52283A1.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D313B
Deuteranopia (green-blind)
#383839
Tritanopia (blue-blind)
#58262F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #52283a;
/* rgb */ color: rgb(82, 40, 58);
/* oklch */ color: oklch(33.9% 0.067 354.2);
Tailwind
colors: {
  custom: {
    50: '#846370',
    500: '#52283a',
    950: '#000000',
  },
}
SCSS
$custom: #52283a;
$custom-light: #846370;
$custom-dark: #000000;
JSON
{
  "hex": "#52283a",
  "rgb": {
    "r": 82,
    "g": 40,
    "b": 58
  },
  "hsl": {
    "h": 334.286,
    "s": 34.426,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33941,
    "c": 0.0668,
    "h": 354.2
  },
  "luminance": 0.03617
}

Semantic roles & 50–950 ramp

primary
#52283A
secondary
#51856F
accent
#CB9C5D
background
#F8F5F6
surface
#EFEAEC
border
#CAC6C7
text
#0B0507
muted
#7C797A

Preview Lab

Preview with #52283A

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

Preview Lab → · Contrast checker → · Palette generator →

#52283A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva