#902117#902117

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

Color values

HEX#902117
RGBrgb(144, 33, 23)
HSLhsl(5, 72%, 33%)
HSVhsv(5, 84%, 56%)
CMYKcmyk(0%, 77.1%, 84%, 43.5%)
CIE-LABlab(31.99, 45.38, 34.43)
CIE-LCHlch(31.99, 56.96, 37.19°)
OKLaboklab(43.11% 0.129 0.0733)
OKLCHoklch(43.11% 0.148 29.6)
XYZxyz(12.2016, 7.0808, 1.5347)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902117 #178690
analogous
#901749 #902117 #905E17
triadic
#902117 #179021 #211790
tetradic
#902117 #499017 #178690 #5E1790
square
#902117 #499017 #178690 #5E1790
split-complementary
#902117 #17905E #174990
monochromatic
#260906 #5B150F #902117 #C52D1F #E14E41

Accessibility & contrast

On white

8.69
#902117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#902117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902117
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902117#FFFFFF#000000##FFFFFF
##9021171.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433C14
Deuteranopia (green-blind)
#5F5411
Tritanopia (blue-blind)
#9F0020
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #902117;
/* rgb */ color: rgb(144, 33, 23);
/* oklch */ color: oklch(43.1% 0.148 29.6);
Tailwind
colors: {
  custom: {
    50: '#b96655',
    500: '#902117',
    950: '#000000',
  },
}
SCSS
$custom: #902117;
$custom-light: #b96655;
$custom-dark: #000000;
JSON
{
  "hex": "#902117",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 23
  },
  "hsl": {
    "h": 4.959,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43115,
    "c": 0.14833,
    "h": 29.6
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#902117
secondary
#42B7C1
accent
#E0EF39
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78

Preview Lab

Preview with #902117

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

Preview Lab → · Contrast checker → · Palette generator →

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