#902840#902840

#902840 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.5% C 0.139 H 11.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#902840
RGBrgb(144, 40, 64)
HSLhsl(346, 57%, 36%)
HSVhsv(346, 72%, 56%)
CMYKcmyk(0%, 72.2%, 55.6%, 43.5%)
CIE-LABlab(33.60, 45.04, 10.86)
CIE-LCHlch(33.60, 46.33, 13.56°)
OKLaboklab(44.53% 0.1363 0.0274)
OKLCHoklch(44.53% 0.139 11.4)
XYZxyz(13.1870, 7.8188, 5.6643)
Luminance0.0782 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902840 #289078
analogous
#902874 #902840 #904428
triadic
#902840 #409028 #284090
tetradic
#902840 #749028 #289078 #442890
square
#902840 #749028 #289078 #442890
split-complementary
#902840 #289044 #287490
monochromatic
#300D15 #601B2B #902840 #C03555 #D3607A

Accessibility & contrast

On white

8.19
#902840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#902840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902840
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902840#FFFFFF#000000##FFFFFF
##9028401.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424240
Deuteranopia (green-blind)
#5D573D
Tritanopia (blue-blind)
#9D1132
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #902840;
/* rgb */ color: rgb(144, 40, 64);
/* oklch */ color: oklch(44.5% 0.139 11.4);
Tailwind
colors: {
  custom: {
    50: '#b66a74',
    500: '#902840',
    950: '#000000',
  },
}
SCSS
$custom: #902840;
$custom-light: #b66a74;
$custom-dark: #000000;
JSON
{
  "hex": "#902840",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 346.154,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44531,
    "c": 0.13905,
    "h": 11.4
  },
  "luminance": 0.07817
}

Semantic roles & 50–950 ramp

primary
#902840
secondary
#5CB8A3
accent
#E0BD48
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120708
muted
#817A7B

Preview Lab

Preview with #902840

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

Preview Lab → · Contrast checker → · Palette generator →

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