#521230#521230

#521230 is a dark, moderate pink. Relative luminance 0.024; OKLCH L 30.3% C 0.099 H 356.1°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#521230
RGBrgb(82, 18, 48)
HSLhsl(332, 64%, 20%)
HSVhsv(332, 78%, 32%)
CMYKcmyk(0%, 78%, 41.5%, 67.8%)
CIE-LABlab(17.65, 32.16, -2.69)
CIE-LCHlch(17.65, 32.27, 355.22°)
OKLaboklab(30.31% 0.0986 -0.0067)
OKLCHoklch(30.31% 0.099 356.1)
XYZxyz(4.2298, 2.4404, 3.0440)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521230 #125234
analogous
#521250 #521230 #521412
triadic
#521230 #305212 #123052
tetradic
#521230 #505212 #125234 #141252
square
#521230 #505212 #125234 #141252
split-complementary
#521230 #125214 #125052
monochromatic
#19060F #200713 #521230 #841D4D #B6286B

Accessibility & contrast

On white

14.11
#521230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#521230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521230
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521230#FFFFFF#000000##FFFFFF
##5212301.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2431
Deuteranopia (green-blind)
#30302F
Tritanopia (blue-blind)
#590B1F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521230;
/* rgb */ color: rgb(82, 18, 48);
/* oklch */ color: oklch(30.3% 0.099 356.1);
Tailwind
colors: {
  custom: {
    50: '#865668',
    500: '#521230',
    950: '#000000',
  },
}
SCSS
$custom: #521230;
$custom-light: #865668;
$custom-dark: #000000;
JSON
{
  "hex": "#521230",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 331.875,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.30305,
    "c": 0.09885,
    "h": 356.1
  },
  "luminance": 0.0244
}

Semantic roles & 50–950 ramp

primary
#521230
secondary
#358B63
accent
#E79941
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0306
muted
#7D787A

Preview Lab

Preview with #521230

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

Preview Lab → · Contrast checker → · Palette generator →

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