#902031#902031

#902031 is a dark, vivid red. Relative luminance 0.072; OKLCH L 43.4% C 0.147 H 17.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#902031
RGBrgb(144, 32, 49)
HSLhsl(351, 64%, 35%)
HSVhsv(351, 78%, 56%)
CMYKcmyk(0%, 77.8%, 66%, 43.5%)
CIE-LABlab(32.23, 46.90, 18.78)
CIE-LCHlch(32.23, 50.52, 21.82°)
OKLaboklab(43.41% 0.1395 0.0449)
OKLCHoklch(43.41% 0.147 17.8)
XYZxyz(12.5738, 7.1860, 3.6301)
Luminance0.0718 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902031 #20907F
analogous
#902069 #902031 #904720
triadic
#902031 #319020 #203190
tetradic
#902031 #699020 #20907F #472090
square
#902031 #699020 #20907F #472090
split-complementary
#902031 #209047 #206990
monochromatic
#2C0A0F #5E1520 #902031 #C22B42 #D95266

Accessibility & contrast

On white

8.62
#902031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#902031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902031
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902031#FFFFFF#000000##FFFFFF
##9020311.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D31
Deuteranopia (green-blind)
#5C542E
Tritanopia (blue-blind)
#9E0027
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #902031;
/* rgb */ color: rgb(144, 32, 49);
/* oklch */ color: oklch(43.4% 0.147 17.8);
Tailwind
colors: {
  custom: {
    50: '#b76668',
    500: '#902031',
    950: '#000000',
  },
}
SCSS
$custom: #902031;
$custom-light: #b76668;
$custom-dark: #000000;
JSON
{
  "hex": "#902031",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 49
  },
  "hsl": {
    "h": 350.893,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43406,
    "c": 0.14659,
    "h": 17.8
  },
  "luminance": 0.07184
}

Semantic roles & 50–950 ramp

primary
#902031
secondary
#50BCAB
accent
#E7CE41
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130606
muted
#827A7A

Preview Lab

Preview with #902031

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

Preview Lab → · Contrast checker → · Palette generator →

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