#902038#902038

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

Color values

HEX#902038
RGBrgb(144, 32, 56)
HSLhsl(347, 64%, 35%)
HSVhsv(347, 78%, 56%)
CMYKcmyk(0%, 77.8%, 61.1%, 43.5%)
CIE-LABlab(32.37, 47.35, 14.40)
CIE-LCHlch(32.37, 49.50, 16.92°)
OKLaboklab(43.56% 0.1424 0.0354)
OKLCHoklch(43.56% 0.147 14)
XYZxyz(12.7332, 7.2497, 4.4695)
Luminance0.0725 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902038 #209078
analogous
#902070 #902038 #904020
triadic
#902038 #389020 #203890
tetradic
#902038 #709020 #209078 #402090
square
#902038 #709020 #209078 #402090
split-complementary
#902038 #209040 #207090
monochromatic
#2C0A11 #5E1525 #902038 #C22B4B #D9526F

Accessibility & contrast

On white

8.57
#902038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #902038
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902038#FFFFFF#000000##FFFFFF
##9020381.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3D38
Deuteranopia (green-blind)
#5C5435
Tritanopia (blue-blind)
#9E002A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #902038;
/* rgb */ color: rgb(144, 32, 56);
/* oklch */ color: oklch(43.6% 0.147 14.0);
Tailwind
colors: {
  custom: {
    50: '#b7666e',
    500: '#902038',
    950: '#000000',
  },
}
SCSS
$custom: #902038;
$custom-light: #b7666e;
$custom-dark: #000000;
JSON
{
  "hex": "#902038",
  "rgb": {
    "r": 144,
    "g": 32,
    "b": 56
  },
  "hsl": {
    "h": 347.143,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43557,
    "c": 0.14676,
    "h": 14
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#902038
secondary
#50BCA5
accent
#E7C341
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A

Preview Lab

Preview with #902038

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

Preview Lab → · Contrast checker → · Palette generator →

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