#98212F#98212F

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

Color values

HEX#98212F
RGBrgb(152, 33, 47)
HSLhsl(353, 64%, 36%)
HSVhsv(353, 78%, 60%)
CMYKcmyk(0%, 78.3%, 69.1%, 40.4%)
CIE-LABlab(33.92, 48.93, 22.54)
CIE-LCHlch(33.92, 53.87, 24.74°)
OKLaboklab(44.94% 0.1445 0.0529)
OKLCHoklch(44.94% 0.154 20.1)
XYZxyz(14.0074, 7.9705, 3.4897)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98212F #21988A
analogous
#98216B #98212F #984F21
triadic
#98212F #2F9821 #212F98
tetradic
#98212F #6B9821 #21988A #4F2198
square
#98212F #6B9821 #21988A #4F2198
split-complementary
#98212F #21984F #216B98
monochromatic
#330B10 #66161F #98212F #CA2C3F #DB5968

Accessibility & contrast

On white

8.10
#98212F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98212F
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98212F#FFFFFF#000000##FFFFFF
##98212F1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44402F
Deuteranopia (green-blind)
#62592B
Tritanopia (blue-blind)
#A70027
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #98212f;
/* rgb */ color: rgb(152, 33, 47);
/* oklch */ color: oklch(44.9% 0.154 20.1);
Tailwind
colors: {
  custom: {
    50: '#be6867',
    500: '#98212f',
    950: '#000000',
  },
}
SCSS
$custom: #98212f;
$custom-light: #be6867;
$custom-dark: #000000;
JSON
{
  "hex": "#98212f",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 47
  },
  "hsl": {
    "h": 352.941,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44941,
    "c": 0.15384,
    "h": 20.1
  },
  "luminance": 0.07968
}

Semantic roles & 50–950 ramp

primary
#98212F
secondary
#56BFB3
accent
#E7D440
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #98212F

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

Preview Lab → · Contrast checker → · Palette generator →

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