#521015#521015

#521015 is a dark, moderate red. Relative luminance 0.022; OKLCH L 29.3% C 0.096 H 21.6°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#521015
RGBrgb(82, 16, 21)
HSLhsl(355, 67%, 19%)
HSVhsv(355, 80%, 32%)
CMYKcmyk(0%, 80.5%, 74.4%, 67.8%)
CIE-LABlab(16.60, 30.47, 15.21)
CIE-LCHlch(16.60, 34.06, 26.52°)
OKLaboklab(29.28% 0.0896 0.0356)
OKLCHoklch(29.28% 0.096 21.6)
XYZxyz(3.8007, 2.2191, 0.9375)
Luminance0.0222 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#521015 #10524D
analogous
#521036 #521015 #522C10
triadic
#521015 #155210 #101552
tetradic
#521015 #365210 #10524D #2C1052
square
#521015 #365210 #10524D #2C1052
split-complementary
#521015 #10522C #103652
monochromatic
#1A0507 #1F0608 #521015 #851A22 #B8242F

Accessibility & contrast

On white

14.54
#521015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #521015
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##521015#FFFFFF#000000##FFFFFF
##5210151.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232015
Deuteranopia (green-blind)
#342E13
Tritanopia (blue-blind)
#5B0012
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #521015;
/* rgb */ color: rgb(82, 16, 21);
/* oklch */ color: oklch(29.3% 0.096 21.6);
Tailwind
colors: {
  custom: {
    50: '#885452',
    500: '#521015',
    950: '#000000',
  },
}
SCSS
$custom: #521015;
$custom-light: #885452;
$custom-dark: #000000;
JSON
{
  "hex": "#521015",
  "rgb": {
    "r": 82,
    "g": 16,
    "b": 21
  },
  "hsl": {
    "h": 355.455,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.29284,
    "c": 0.09644,
    "h": 21.6
  },
  "luminance": 0.02219
}

Semantic roles & 50–950 ramp

primary
#521015
secondary
#328C85
accent
#EADD3E
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0302
muted
#7D7878

Preview Lab

Preview with #521015

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

Preview Lab → · Contrast checker → · Palette generator →

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