#521012#521012

#521012 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.2% C 0.097 H 24.1°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#521012
RGBrgb(82, 16, 18)
HSLhsl(358, 67%, 19%)
HSVhsv(358, 80%, 32%)
CMYKcmyk(0%, 80.5%, 78%, 67.8%)
CIE-LABlab(16.55, 30.30, 17.09)
CIE-LCHlch(16.55, 34.79, 29.42°)
OKLaboklab(29.23% 0.0884 0.0395)
OKLCHoklch(29.23% 0.097 24.1)
XYZxyz(3.7746, 2.2087, 0.7997)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521012 #105250
analogous
#521033 #521012 #522F10
triadic
#521012 #125210 #101252
tetradic
#521012 #335210 #105250 #2F1052
square
#521012 #335210 #105250 #2F1052
split-complementary
#521012 #10522F #103352
monochromatic
#1A0506 #1F0607 #521012 #851A1D #B82428

Accessibility & contrast

On white

14.57
#521012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#521012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #521012
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521012#FFFFFF#000000##FFFFFF
##5210121.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232011
Deuteranopia (green-blind)
#342E10
Tritanopia (blue-blind)
#5B0011
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #521012;
/* rgb */ color: rgb(82, 16, 18);
/* oklch */ color: oklch(29.2% 0.097 24.1);
Tailwind
colors: {
  custom: {
    50: '#89544f',
    500: '#521012',
    950: '#000000',
  },
}
SCSS
$custom: #521012;
$custom-light: #89544f;
$custom-dark: #000000;
JSON
{
  "hex": "#521012",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 18
  },
  "hsl": {
    "h": 358.182,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29229,
    "c": 0.09677,
    "h": 24.1
  },
  "luminance": 0.02208
}

Semantic roles & 50–950 ramp

primary
#521012
secondary
#328C89
accent
#EAE53E
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0302
muted
#7D7878

Preview Lab

Preview with #521012

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

Preview Lab → · Contrast checker → · Palette generator →

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