#521214#521214

#521214 is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.5% C 0.094 H 23.5°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#521214
RGBrgb(82, 18, 20)
HSLhsl(358, 64%, 20%)
HSVhsv(358, 78%, 32%)
CMYKcmyk(0%, 78%, 75.6%, 67.8%)
CIE-LABlab(16.88, 29.58, 16.23)
CIE-LCHlch(16.88, 33.74, 28.75°)
OKLaboklab(29.49% 0.0866 0.0377)
OKLCHoklch(29.49% 0.094 23.5)
XYZxyz(3.8227, 2.2775, 0.9000)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521214 #125250
analogous
#521234 #521214 #523012
triadic
#521214 #145212 #121452
tetradic
#521214 #345212 #125250 #301252
square
#521214 #345212 #125250 #301252
split-complementary
#521214 #125230 #123452
monochromatic
#190606 #200708 #521214 #841D20 #B6282C

Accessibility & contrast

On white

14.43
#521214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521214
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521214#FFFFFF#000000##FFFFFF
##5212141.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242113
Deuteranopia (green-blind)
#342F12
Tritanopia (blue-blind)
#5B0013
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #521214;
/* rgb */ color: rgb(82, 18, 20);
/* oklch */ color: oklch(29.5% 0.094 23.5);
Tailwind
colors: {
  custom: {
    50: '#885551',
    500: '#521214',
    950: '#000000',
  },
}
SCSS
$custom: #521214;
$custom-light: #885551;
$custom-dark: #000000;
JSON
{
  "hex": "#521214",
  "rgb": {
    "r": 82,
    "g": 18,
    "b": 20
  },
  "hsl": {
    "h": 358.125,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29489,
    "c": 0.09441,
    "h": 23.5
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#521214
secondary
#358B88
accent
#E7E241
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521214

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

Preview Lab → · Contrast checker → · Palette generator →

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