#902212#902212

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

Color values

HEX#902212
RGBrgb(144, 34, 18)
HSLhsl(8, 78%, 32%)
HSVhsv(8, 88%, 56%)
CMYKcmyk(0%, 76.4%, 87.5%, 43.5%)
CIE-LABlab(32.08, 44.88, 37.12)
CIE-LCHlch(32.08, 58.25, 39.59°)
OKLaboklab(43.17% 0.1265 0.0773)
OKLCHoklch(43.17% 0.148 31.4)
XYZxyz(12.1843, 7.1190, 1.3047)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902212 #128090
analogous
#901241 #902212 #906112
triadic
#902212 #129022 #221290
tetradic
#902212 #419012 #128090 #611290
square
#902212 #419012 #128090 #611290
split-complementary
#902212 #129061 #124190
monochromatic
#230804 #5A150B #902212 #C62F19 #E64D36

Accessibility & contrast

On white

8.67
#902212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902212
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902212#FFFFFF#000000##FFFFFF
##9022121.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C0E
Deuteranopia (green-blind)
#5F540B
Tritanopia (blue-blind)
#9F0020
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #902212;
/* rgb */ color: rgb(144, 34, 18);
/* oklch */ color: oklch(43.2% 0.148 31.4);
Tailwind
colors: {
  custom: {
    50: '#ba6652',
    500: '#902212',
    950: '#000000',
  },
}
SCSS
$custom: #902212;
$custom-light: #ba6652;
$custom-dark: #000000;
JSON
{
  "hex": "#902212",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 18
  },
  "hsl": {
    "h": 7.619,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43166,
    "c": 0.14822,
    "h": 31.4
  },
  "luminance": 0.07117
}

Semantic roles & 50–950 ramp

primary
#902212
secondary
#3AB2C4
accent
#DCF434
background
#FCF6F4
surface
#F8EBE7
border
#D1C6C3
text
#130602
muted
#827A78

Preview Lab

Preview with #902212

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

Preview Lab → · Contrast checker → · Palette generator →

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