#522115#522115

#522115 is a dark, moderate red. Relative luminance 0.029; OKLCH L 31.7% C 0.077 H 35.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#522115
RGBrgb(82, 33, 21)
HSLhsl(12, 59%, 20%)
HSVhsv(12, 74%, 32%)
CMYKcmyk(0%, 59.8%, 74.4%, 67.8%)
CIE-LABlab(19.79, 21.94, 19.04)
CIE-LCHlch(19.79, 29.05, 40.94°)
OKLaboklab(31.68% 0.0629 0.044)
OKLCHoklch(31.68% 0.077 35)
XYZxyz(4.1593, 2.9362, 1.0570)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#522115 #154652
analogous
#521528 #522115 #523F15
triadic
#522115 #155221 #211552
tetradic
#522115 #285215 #154652 #3F1552
square
#522115 #285215 #154652 #3F1552
split-complementary
#522115 #15523F #152852
monochromatic
#180A06 #210D09 #522115 #833521 #B3482E

Accessibility & contrast

On white

13.23
#522115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#522115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #522115
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##522115#FFFFFF#000000##FFFFFF
##5221151.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2914
Deuteranopia (green-blind)
#3A3414
Tritanopia (blue-blind)
#5B171E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #522115;
/* rgb */ color: rgb(82, 33, 21);
/* oklch */ color: oklch(31.7% 0.077 35.0);
Tailwind
colors: {
  custom: {
    50: '#875e52',
    500: '#522115',
    950: '#000000',
  },
}
SCSS
$custom: #522115;
$custom-light: #875e52;
$custom-dark: #000000;
JSON
{
  "hex": "#522115",
  "rgb": {
    "r": 82,
    "g": 33,
    "b": 21
  },
  "hsl": {
    "h": 11.803,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.31681,
    "c": 0.07673,
    "h": 35
  },
  "luminance": 0.02936
}

Semantic roles & 50–950 ramp

primary
#522115
secondary
#397A8A
accent
#C4E245
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0C0402
muted
#7D7978

Preview Lab

Preview with #522115

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

Preview Lab → · Contrast checker → · Palette generator →

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