#902821#902821

#902821 is a dark, vivid red. Relative luminance 0.076; OKLCH L 43.9% C 0.141 H 28.2°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#902821
RGBrgb(144, 40, 33)
HSLhsl(4, 63%, 35%)
HSVhsv(4, 77%, 56%)
CMYKcmyk(0%, 72.2%, 77.1%, 43.5%)
CIE-LABlab(33.05, 43.11, 29.78)
CIE-LCHlch(33.05, 52.40, 34.64°)
OKLaboklab(43.94% 0.124 0.0664)
OKLCHoklch(43.94% 0.141 28.2)
XYZxyz(12.5363, 7.5586, 2.2374)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#902821 #218990
analogous
#902151 #902821 #906021
triadic
#902821 #219028 #282190
tetradic
#902821 #519021 #218990 #602190
square
#902821 #519021 #218990 #602190
split-complementary
#902821 #219060 #215190
monochromatic
#2C0C0A #5E1A16 #902821 #C2362C #D85C54

Accessibility & contrast

On white

8.36
#902821 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#902821 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #902821
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##902821#FFFFFF#000000##FFFFFF
##9028211.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F1F
Deuteranopia (green-blind)
#60561D
Tritanopia (blue-blind)
#9F0027
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #902821;
/* rgb */ color: rgb(144, 40, 33);
/* oklch */ color: oklch(43.9% 0.141 28.2);
Tailwind
colors: {
  custom: {
    50: '#b8695d',
    500: '#902821',
    950: '#000000',
  },
}
SCSS
$custom: #902821;
$custom-light: #b8695d;
$custom-dark: #000000;
JSON
{
  "hex": "#902821",
  "rgb": {
    "r": 144,
    "g": 40,
    "b": 33
  },
  "hsl": {
    "h": 3.784,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43937,
    "c": 0.14061,
    "h": 28.2
  },
  "luminance": 0.07557
}

Semantic roles & 50–950 ramp

primary
#902821
secondary
#51B5BB
accent
#DBE642
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130704
muted
#827A79

Preview Lab

Preview with #902821

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

Preview Lab → · Contrast checker → · Palette generator →

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