#902A17#902A17

#902A17 is a dark, vivid red. Relative luminance 0.076; OKLCH L 44.0% C 0.141 H 32.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#902A17
RGBrgb(144, 42, 23)
HSLhsl(9, 72%, 33%)
HSVhsv(9, 84%, 56%)
CMYKcmyk(0%, 70.8%, 84%, 43.5%)
CIE-LABlab(33.24, 41.93, 35.61)
CIE-LCHlch(33.24, 55.01, 40.34°)
OKLaboklab(44.05% 0.1182 0.0759)
OKLCHoklch(44.05% 0.141 32.7)
XYZxyz(12.4857, 7.6490, 1.6294)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902A17 #177D90
analogous
#901741 #902A17 #906617
triadic
#902A17 #17902A #2A1790
tetradic
#902A17 #419017 #177D90 #661790
square
#902A17 #419017 #177D90 #661790
split-complementary
#902A17 #179066 #174190
monochromatic
#260B06 #5B1B0F #902A17 #C5391F #E15A41

Accessibility & contrast

On white

8.30
#902A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#902A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902A17
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902A17#FFFFFF#000000##FFFFFF
##902A171.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484014
Deuteranopia (green-blind)
#615612
Tritanopia (blue-blind)
#9F0327
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #902a17;
/* rgb */ color: rgb(144, 42, 23);
/* oklch */ color: oklch(44.0% 0.141 32.7);
Tailwind
colors: {
  custom: {
    50: '#b96a56',
    500: '#902a17',
    950: '#000000',
  },
}
SCSS
$custom: #902a17;
$custom-light: #b96a56;
$custom-dark: #000000;
JSON
{
  "hex": "#902a17",
  "rgb": {
    "r": 144,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 9.421,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4405,
    "c": 0.1405,
    "h": 32.7
  },
  "luminance": 0.07647
}

Semantic roles & 50–950 ramp

primary
#902A17
secondary
#42ADC1
accent
#D3EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130703
muted
#827A78

Preview Lab

Preview with #902A17

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

Preview Lab → · Contrast checker → · Palette generator →

#902A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva