#902228#902228

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

Color values

HEX#902228
RGBrgb(144, 34, 40)
HSLhsl(357, 62%, 35%)
HSVhsv(357, 76%, 56%)
CMYKcmyk(0%, 76.4%, 72.2%, 43.5%)
CIE-LABlab(32.32, 45.70, 24.66)
CIE-LCHlch(32.32, 51.93, 28.35°)
OKLaboklab(43.43% 0.1337 0.0568)
OKLCHoklch(43.43% 0.145 23)
XYZxyz(12.4580, 7.2285, 2.7463)
Luminance0.0723 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902228 #22908A
analogous
#90225F #902228 #905322
triadic
#902228 #289022 #222890
tetradic
#902228 #5F9022 #22908A #532290
square
#902228 #5F9022 #22908A #532290
split-complementary
#902228 #229053 #225F90
monochromatic
#2D0B0C #5E161A #902228 #C22E36 #D7555D

Accessibility & contrast

On white

8.59
#902228 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#902228 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902228
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902228#FFFFFF#000000##FFFFFF
##9022281.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D27
Deuteranopia (green-blind)
#5E5524
Tritanopia (blue-blind)
#9F0025
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #902228;
/* rgb */ color: rgb(144, 34, 40);
/* oklch */ color: oklch(43.4% 0.145 23.0);
Tailwind
colors: {
  custom: {
    50: '#b86762',
    500: '#902228',
    950: '#000000',
  },
}
SCSS
$custom: #902228;
$custom-light: #b86762;
$custom-dark: #000000;
JSON
{
  "hex": "#902228",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 40
  },
  "hsl": {
    "h": 356.727,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43427,
    "c": 0.14527,
    "h": 23
  },
  "luminance": 0.07227
}

Semantic roles & 50–950 ramp

primary
#902228
secondary
#53BBB5
accent
#E5DC43
background
#FCF6F5
surface
#F8EBEA
border
#D1C6C6
text
#130605
muted
#827A79

Preview Lab

Preview with #902228

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

Preview Lab → · Contrast checker → · Palette generator →

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