#98212C#98212C

#98212C is a dark, vivid red. Relative luminance 0.079; OKLCH L 44.9% C 0.154 H 21.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#98212C
RGBrgb(152, 33, 44)
HSLhsl(354, 64%, 36%)
HSVhsv(354, 78%, 60%)
CMYKcmyk(0%, 78.3%, 71.1%, 40.4%)
CIE-LABlab(33.87, 48.77, 24.38)
CIE-LCHlch(33.87, 54.53, 26.56°)
OKLaboklab(44.89% 0.1433 0.0565)
OKLCHoklch(44.89% 0.154 21.5)
XYZxyz(13.9490, 7.9471, 3.1819)
Luminance0.0795 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98212C #21988D
analogous
#982168 #98212C #985221
triadic
#98212C #2C9821 #212C98
tetradic
#98212C #689821 #21988D #522198
square
#98212C #689821 #21988D #522198
split-complementary
#98212C #219852 #216898
monochromatic
#330B0F #66161D #98212C #CA2C3B #DB5965

Accessibility & contrast

On white

8.11
#98212C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#98212C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98212C
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98212C#FFFFFF#000000##FFFFFF
##98212C1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F2B
Deuteranopia (green-blind)
#625928
Tritanopia (blue-blind)
#A70026
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #98212c;
/* rgb */ color: rgb(152, 33, 44);
/* oklch */ color: oklch(44.9% 0.154 21.5);
Tailwind
colors: {
  custom: {
    50: '#be6865',
    500: '#98212c',
    950: '#000000',
  },
}
SCSS
$custom: #98212c;
$custom-light: #be6865;
$custom-dark: #000000;
JSON
{
  "hex": "#98212c",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 44
  },
  "hsl": {
    "h": 354.454,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44889,
    "c": 0.15402,
    "h": 21.5
  },
  "luminance": 0.07945
}

Semantic roles & 50–950 ramp

primary
#98212C
secondary
#56BFB5
accent
#E7D840
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140705
muted
#827A7A

Preview Lab

Preview with #98212C

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

Preview Lab → · Contrast checker → · Palette generator →

#98212C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva