#521023#521023

#521023 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.097 H 8.5°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#521023
RGBrgb(82, 16, 35)
HSLhsl(343, 67%, 19%)
HSVhsv(343, 80%, 32%)
CMYKcmyk(0%, 80.5%, 57.3%, 67.8%)
CIE-LABlab(16.92, 31.55, 5.61)
CIE-LCHlch(16.92, 32.05, 10.08°)
OKLaboklab(29.63% 0.096 0.0144)
OKLCHoklch(29.63% 0.097 8.5)
XYZxyz(3.9687, 2.2863, 1.8221)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521023 #10523F
analogous
#521044 #521023 #521E10
triadic
#521023 #235210 #102352
tetradic
#521023 #445210 #10523F #1E1052
square
#521023 #445210 #10523F #1E1052
split-complementary
#521023 #10521E #104452
monochromatic
#1A050B #1F060D #521023 #851A39 #B8244F

Accessibility & contrast

On white

14.41
#521023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#521023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521023
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521023#FFFFFF#000000##FFFFFF
##5210231.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #521023;
/* rgb */ color: rgb(82, 16, 35);
/* oklch */ color: oklch(29.6% 0.097 8.5);
Tailwind
colors: {
  custom: {
    50: '#87555d',
    500: '#521023',
    950: '#000000',
  },
}
SCSS
$custom: #521023;
$custom-light: #87555d;
$custom-dark: #000000;
JSON
{
  "hex": "#521023",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 35
  },
  "hsl": {
    "h": 342.727,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29631,
    "c": 0.09705,
    "h": 8.5
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#521023
secondary
#328C72
accent
#EAB93E
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521023

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

Preview Lab → · Contrast checker → · Palette generator →

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