#521223#521223

#521223 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.095 H 9.4°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#521223
RGBrgb(82, 18, 35)
HSLhsl(344, 64%, 20%)
HSVhsv(344, 78%, 32%)
CMYKcmyk(0%, 78%, 57.3%, 67.8%)
CIE-LABlab(17.22, 30.73, 6.02)
CIE-LCHlch(17.22, 31.32, 11.08°)
OKLaboklab(29.85% 0.0933 0.0154)
OKLCHoklch(29.85% 0.095 9.4)
XYZxyz(3.9997, 2.3483, 1.8324)
Luminance0.0235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521223 #125241
analogous
#521243 #521223 #522112
triadic
#521223 #235212 #122352
tetradic
#521223 #435212 #125241 #211252
square
#521223 #435212 #125241 #211252
split-complementary
#521223 #125221 #124352
monochromatic
#19060B #20070E #521223 #841D38 #B6284E

Accessibility & contrast

On white

14.29
#521223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#521223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521223
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521223#FFFFFF#000000##FFFFFF
##5212231.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222223
Deuteranopia (green-blind)
#322F21
Tritanopia (blue-blind)
#5A0519
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521223;
/* rgb */ color: rgb(82, 18, 35);
/* oklch */ color: oklch(29.8% 0.095 9.4);
Tailwind
colors: {
  custom: {
    50: '#87565d',
    500: '#521223',
    950: '#000000',
  },
}
SCSS
$custom: #521223;
$custom-light: #87565d;
$custom-dark: #000000;
JSON
{
  "hex": "#521223",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 35
  },
  "hsl": {
    "h": 344.063,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29849,
    "c": 0.0946,
    "h": 9.4
  },
  "luminance": 0.02348
}

Semantic roles & 50–950 ramp

primary
#521223
secondary
#358B74
accent
#E7BB41
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521223

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

Preview Lab → · Contrast checker → · Palette generator →

#521223 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva