#902831#902831

#902831 is a dark, vivid red. Relative luminance 0.077; OKLCH L 44.2% C 0.139 H 20.3°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#902831
RGBrgb(144, 40, 49)
HSLhsl(355, 57%, 36%)
HSVhsv(355, 72%, 56%)
CMYKcmyk(0%, 72.2%, 66%, 43.5%)
CIE-LABlab(33.29, 43.95, 20.13)
CIE-LCHlch(33.29, 48.34, 24.61°)
OKLaboklab(44.19% 0.1301 0.048)
OKLCHoklch(44.19% 0.139 20.3)
XYZxyz(12.8161, 7.6705, 3.7108)
Luminance0.0767 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902831 #289087
analogous
#902865 #902831 #905328
triadic
#902831 #319028 #283190
tetradic
#902831 #659028 #289087 #532890
square
#902831 #659028 #289087 #532890
split-complementary
#902831 #289053 #286590
monochromatic
#300D10 #601B21 #902831 #C03541 #D3606A

Accessibility & contrast

On white

8.29
#902831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#902831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902831
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902831#FFFFFF#000000##FFFFFF
##9028311.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444031
Deuteranopia (green-blind)
#5F562E
Tritanopia (blue-blind)
#9E082C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #902831;
/* rgb */ color: rgb(144, 40, 49);
/* oklch */ color: oklch(44.2% 0.139 20.3);
Tailwind
colors: {
  custom: {
    50: '#b76a69',
    500: '#902831',
    950: '#000000',
  },
}
SCSS
$custom: #902831;
$custom-light: #b76a69;
$custom-dark: #000000;
JSON
{
  "hex": "#902831",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 49
  },
  "hsl": {
    "h": 354.808,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44194,
    "c": 0.13869,
    "h": 20.3
  },
  "luminance": 0.07669
}

Semantic roles & 50–950 ramp

primary
#902831
secondary
#5CB8B0
accent
#E0D348
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #902831

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

Preview Lab → · Contrast checker → · Palette generator →

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