#902838#902838

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

Color values

HEX#902838
RGBrgb(144, 40, 56)
HSLhsl(351, 57%, 36%)
HSVhsv(351, 72%, 56%)
CMYKcmyk(0%, 72.2%, 61.1%, 43.5%)
CIE-LABlab(33.42, 44.42, 15.81)
CIE-LCHlch(33.42, 47.15, 19.59°)
OKLaboklab(44.34% 0.133 0.0387)
OKLCHoklch(44.34% 0.139 16.2)
XYZxyz(12.9755, 7.7342, 4.5502)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902838 #289080
analogous
#90286C #902838 #904C28
triadic
#902838 #389028 #283890
tetradic
#902838 #6C9028 #289080 #4C2890
square
#902838 #6C9028 #289080 #4C2890
split-complementary
#902838 #28904C #286C90
monochromatic
#300D13 #601B25 #902838 #C0354B #D36071

Accessibility & contrast

On white

8.25
#902838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#902838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902838
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902838#FFFFFF#000000##FFFFFF
##9028381.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434138
Deuteranopia (green-blind)
#5E5735
Tritanopia (blue-blind)
#9E0C2F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #902838;
/* rgb */ color: rgb(144, 40, 56);
/* oklch */ color: oklch(44.3% 0.139 16.2);
Tailwind
colors: {
  custom: {
    50: '#b76a6e',
    500: '#902838',
    950: '#000000',
  },
}
SCSS
$custom: #902838;
$custom-light: #b76a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#902838",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 350.769,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44339,
    "c": 0.13853,
    "h": 16.2
  },
  "luminance": 0.07732
}

Semantic roles & 50–950 ramp

primary
#902838
secondary
#5CB8AA
accent
#E0C848
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120707
muted
#817A7A

Preview Lab

Preview with #902838

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

Preview Lab → · Contrast checker → · Palette generator →

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