#521423#521423

#521423 is a dark, moderate red. Relative luminance 0.024; OKLCH L 30.1% C 0.092 H 10.3°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#521423
RGBrgb(82, 20, 35)
HSLhsl(345, 61%, 20%)
HSVhsv(345, 76%, 32%)
CMYKcmyk(0%, 75.6%, 57.3%, 67.8%)
CIE-LABlab(17.53, 29.86, 6.46)
CIE-LCHlch(17.53, 30.55, 12.21°)
OKLaboklab(30.08% 0.0905 0.0165)
OKLCHoklch(30.08% 0.092 10.3)
XYZxyz(4.0336, 2.4160, 1.8437)
Luminance0.0242 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521423 #145243
analogous
#521442 #521423 #522414
triadic
#521423 #235214 #142352
tetradic
#521423 #425214 #145243 #241452
square
#521423 #425214 #145243 #241452
split-complementary
#521423 #145224 #144252
monochromatic
#19060A #21080E #521423 #832038 #B42C4D

Accessibility & contrast

On white

14.16
#521423 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#521423 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521423
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521423#FFFFFF#000000##FFFFFF
##5214231.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232323
Deuteranopia (green-blind)
#333021
Tritanopia (blue-blind)
#5A081A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #521423;
/* rgb */ color: rgb(82, 20, 35);
/* oklch */ color: oklch(30.1% 0.092 10.3);
Tailwind
colors: {
  custom: {
    50: '#87575d',
    500: '#521423',
    950: '#000000',
  },
}
SCSS
$custom: #521423;
$custom-light: #87575d;
$custom-dark: #000000;
JSON
{
  "hex": "#521423",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 35
  },
  "hsl": {
    "h": 345.484,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.30084,
    "c": 0.09202,
    "h": 10.3
  },
  "luminance": 0.02415
}

Semantic roles & 50–950 ramp

primary
#521423
secondary
#388A76
accent
#E4BD44
background
#F8F5F5
surface
#F0E9E9
border
#CBC5C5
text
#0C0304
muted
#7D7879

Preview Lab

Preview with #521423

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

Preview Lab → · Contrast checker → · Palette generator →

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