#52140C#52140C

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

Color values

HEX#52140C
RGBrgb(82, 20, 12)
HSLhsl(7, 74%, 18%)
HSVhsv(7, 85%, 32%)
CMYKcmyk(0%, 75.6%, 85.4%, 67.8%)
CIE-LABlab(17.09, 28.29, 20.94)
CIE-LCHlch(17.09, 35.20, 36.51°)
OKLaboklab(29.61% 0.0806 0.0477)
OKLCHoklch(29.61% 0.094 30.6)
XYZxyz(3.7966, 2.3213, 0.5959)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52140C #0C4A52
analogous
#520C27 #52140C #52370C
triadic
#52140C #0C5214 #140C52
tetradic
#52140C #27520C #0C4A52 #370C52
square
#52140C #27520C #0C4A52 #370C52
split-complementary
#52140C #0C5237 #0C2752
monochromatic
#1B0704 #1D0704 #52140C #872114 #BD2E1C

Accessibility & contrast

On white

14.34
#52140C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#52140C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #52140C
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52140C#FFFFFF#000000##FFFFFF
##52140C1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26210B
Deuteranopia (green-blind)
#352F09
Tritanopia (blue-blind)
#5B0113
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #52140c;
/* rgb */ color: rgb(82, 20, 12);
/* oklch */ color: oklch(29.6% 0.094 30.6);
Tailwind
colors: {
  custom: {
    50: '#89564c',
    500: '#52140c',
    950: '#000000',
  },
}
SCSS
$custom: #52140c;
$custom-light: #89564c;
$custom-dark: #000000;
JSON
{
  "hex": "#52140c",
  "rgb": {
    "r": 82,
    "g": 20,
    "b": 12
  },
  "hsl": {
    "h": 6.857,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29609,
    "c": 0.09364,
    "h": 30.6
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#52140C
secondary
#2C828D
accent
#DCF137
background
#F8F5F4
surface
#F0E9E7
border
#CBC5C3
text
#0D0301
muted
#7D7877

Preview Lab

Preview with #52140C

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

Preview Lab → · Contrast checker → · Palette generator →

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