#52140F#52140F

#52140F is a dark, moderate red. Relative luminance 0.023; OKLCH L 29.6% C 0.093 H 28.6°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#52140F
RGBrgb(82, 20, 15)
HSLhsl(4, 69%, 19%)
HSVhsv(4, 82%, 32%)
CMYKcmyk(0%, 75.6%, 81.7%, 67.8%)
CIE-LABlab(17.13, 28.42, 19.51)
CIE-LCHlch(17.13, 34.48, 34.47°)
OKLaboklab(29.65% 0.0817 0.0446)
OKLCHoklch(29.65% 0.093 28.6)
XYZxyz(3.8165, 2.3292, 0.7005)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52140F #0F4D52
analogous
#520F2C #52140F #52360F
triadic
#52140F #0F5214 #140F52
tetradic
#52140F #2C520F #0F4D52 #360F52
square
#52140F #2C520F #0F4D52 #360F52
split-complementary
#52140F #0F5236 #0F2C52
monochromatic
#1A0605 #1E0706 #52140F #862118 #B92D22

Accessibility & contrast

On white

14.33
#52140F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #52140F
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52140F#FFFFFF#000000##FFFFFF
##52140F1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52140f;
/* rgb */ color: rgb(82, 20, 15);
/* oklch */ color: oklch(29.6% 0.093 28.6);
Tailwind
colors: {
  custom: {
    50: '#89564e',
    500: '#52140f',
    950: '#000000',
  },
}
SCSS
$custom: #52140f;
$custom-light: #89564e;
$custom-dark: #000000;
JSON
{
  "hex": "#52140f",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 15
  },
  "hsl": {
    "h": 4.478,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29649,
    "c": 0.09305,
    "h": 28.6
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#52140F
secondary
#31858C
accent
#DFEC3C
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #52140F

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

Preview Lab → · Contrast checker → · Palette generator →

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