#52150F#52150F

#52150F is a dark, moderate red. Relative luminance 0.024; OKLCH L 29.8% C 0.092 H 29.3°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#52150F
RGBrgb(82, 21, 15)
HSLhsl(5, 69%, 19%)
HSVhsv(5, 82%, 32%)
CMYKcmyk(0%, 74.4%, 81.7%, 67.8%)
CIE-LABlab(17.30, 27.96, 19.72)
CIE-LCHlch(17.30, 34.21, 35.19°)
OKLaboklab(29.78% 0.0802 0.0449)
OKLCHoklch(29.78% 0.092 29.3)
XYZxyz(3.8345, 2.3652, 0.7065)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52150F #0F4C52
analogous
#520F2B #52150F #52370F
triadic
#52150F #0F5215 #150F52
tetradic
#52150F #2B520F #0F4C52 #370F52
square
#52150F #2B520F #0F4C52 #370F52
split-complementary
#52150F #0F5237 #0F2B52
monochromatic
#1A0705 #1E0806 #52150F #862218 #B92F22

Accessibility & contrast

On white

14.26
#52150F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#52150F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52150F
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52150F#FFFFFF#000000##FFFFFF
##52150F1.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26220E
Deuteranopia (green-blind)
#362F0D
Tritanopia (blue-blind)
#5B0414
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52150f;
/* rgb */ color: rgb(82, 21, 15);
/* oklch */ color: oklch(29.8% 0.092 29.3);
Tailwind
colors: {
  custom: {
    50: '#89574e',
    500: '#52150f',
    950: '#000000',
  },
}
SCSS
$custom: #52150f;
$custom-light: #89574e;
$custom-dark: #000000;
JSON
{
  "hex": "#52150f",
  "rgb": {
    "r": 82,
    "g": 21,
    "b": 15
  },
  "hsl": {
    "h": 5.373,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29776,
    "c": 0.09197,
    "h": 29.3
  },
  "luminance": 0.02365
}

Semantic roles & 50–950 ramp

primary
#52150F
secondary
#31848C
accent
#DCEC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #52150F

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

Preview Lab → · Contrast checker → · Palette generator →

#52150F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva