#802312#802312

#802312 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.130 H 32.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#802312
RGBrgb(128, 35, 18)
HSLhsl(9, 75%, 29%)
HSVhsv(9, 86%, 50%)
CMYKcmyk(0%, 72.7%, 85.9%, 49.8%)
CIE-LABlab(29.00, 39.01, 33.16)
CIE-LCHlch(29.00, 51.20, 40.37°)
OKLaboklab(40.28% 0.1099 0.0703)
OKLCHoklch(40.28% 0.13 32.6)
XYZxyz(9.6134, 5.8364, 1.1925)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802312 #126F80
analogous
#801238 #802312 #805A12
triadic
#802312 #128023 #231280
tetradic
#802312 #388012 #126F80 #5A1280
square
#802312 #388012 #126F80 #5A1280
split-complementary
#802312 #12805A #123880
monochromatic
#1B0704 #4A140A #802312 #B6321A #E1472B

Accessibility & contrast

On white

9.69
#802312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#802312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802312
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802312#FFFFFF#000000##FFFFFF
##8023121.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F370F
Deuteranopia (green-blind)
#564C0D
Tritanopia (blue-blind)
#8E0020
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #802312;
/* rgb */ color: rgb(128, 35, 18);
/* oklch */ color: oklch(40.3% 0.130 32.6);
Tailwind
colors: {
  custom: {
    50: '#ad6452',
    500: '#802312',
    950: '#000000',
  },
}
SCSS
$custom: #802312;
$custom-light: #ad6452;
$custom-dark: #000000;
JSON
{
  "hex": "#802312",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 18
  },
  "hsl": {
    "h": 9.273,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.4028,
    "c": 0.13045,
    "h": 32.6
  },
  "luminance": 0.05835
}

Semantic roles & 50–950 ramp

primary
#802312
secondary
#38A2B6
accent
#D5F236
background
#FBF6F4
surface
#F6EBE7
border
#D0C6C3
text
#120602
muted
#817A78

Preview Lab

Preview with #802312

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

Preview Lab → · Contrast checker → · Palette generator →

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