#902817#902817

#902817 is a dark, vivid red. Relative luminance 0.075; OKLCH L 43.8% C 0.142 H 32.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#902817
RGBrgb(144, 40, 23)
HSLhsl(8, 72%, 33%)
HSVhsv(8, 84%, 56%)
CMYKcmyk(0%, 72.2%, 84%, 43.5%)
CIE-LABlab(32.94, 42.74, 35.33)
CIE-LCHlch(32.94, 55.46, 39.58°)
OKLaboklab(43.83% 0.1208 0.0753)
OKLCHoklch(43.83% 0.142 32)
XYZxyz(12.4165, 7.5106, 1.6064)
Luminance0.0751 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902817 #177F90
analogous
#901742 #902817 #906517
triadic
#902817 #179028 #281790
tetradic
#902817 #429017 #177F90 #651790
square
#902817 #429017 #177F90 #651790
split-complementary
#902817 #179065 #174290
monochromatic
#260B06 #5B190F #902817 #C5371F #E15741

Accessibility & contrast

On white

8.39
#902817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#902817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902817
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902817#FFFFFF#000000##FFFFFF
##9028171.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473F14
Deuteranopia (green-blind)
#615612
Tritanopia (blue-blind)
#9F0025
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #902817;
/* rgb */ color: rgb(144, 40, 23);
/* oklch */ color: oklch(43.8% 0.142 32.0);
Tailwind
colors: {
  custom: {
    50: '#b96956',
    500: '#902817',
    950: '#000000',
  },
}
SCSS
$custom: #902817;
$custom-light: #b96956;
$custom-dark: #000000;
JSON
{
  "hex": "#902817",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 23
  },
  "hsl": {
    "h": 8.43,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43826,
    "c": 0.14231,
    "h": 32
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#902817
secondary
#42AFC1
accent
#D6EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #902817

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

Preview Lab → · Contrast checker → · Palette generator →

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