#902217#902217

#902217 is a dark, vivid red. Relative luminance 0.071; OKLCH L 43.2% C 0.148 H 29.9°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#902217
RGBrgb(144, 34, 23)
HSLhsl(5, 72%, 33%)
HSVhsv(5, 84%, 56%)
CMYKcmyk(0%, 76.4%, 84%, 43.5%)
CIE-LABlab(32.12, 45.02, 34.55)
CIE-LCHlch(32.12, 56.75, 37.50°)
OKLaboklab(43.21% 0.1279 0.0736)
OKLCHoklch(43.21% 0.148 29.9)
XYZxyz(12.2298, 7.1371, 1.5441)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902217 #178590
analogous
#901748 #902217 #905F17
triadic
#902217 #179022 #221790
tetradic
#902217 #489017 #178590 #5F1790
square
#902217 #489017 #178590 #5F1790
split-complementary
#902217 #17905F #174890
monochromatic
#260906 #5B160F #902217 #C52E1F #E14F41

Accessibility & contrast

On white

8.65
#902217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#902217 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902217
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902217#FFFFFF#000000##FFFFFF
##9022171.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C14
Deuteranopia (green-blind)
#5F5411
Tritanopia (blue-blind)
#9F0021
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #902217;
/* rgb */ color: rgb(144, 34, 23);
/* oklch */ color: oklch(43.2% 0.148 29.9);
Tailwind
colors: {
  custom: {
    50: '#b96655',
    500: '#902217',
    950: '#000000',
  },
}
SCSS
$custom: #902217;
$custom-light: #b96655;
$custom-dark: #000000;
JSON
{
  "hex": "#902217",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 23
  },
  "hsl": {
    "h": 5.455,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4321,
    "c": 0.14751,
    "h": 29.9
  },
  "luminance": 0.07135
}

Semantic roles & 50–950 ramp

primary
#902217
secondary
#42B6C1
accent
#DFEF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #902217

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

Preview Lab → · Contrast checker → · Palette generator →

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