#98213B#98213B

#98213B is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.154 H 14.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#98213B
RGBrgb(152, 33, 59)
HSLhsl(347, 64%, 36%)
HSVhsv(347, 78%, 60%)
CMYKcmyk(0%, 78.3%, 61.2%, 40.4%)
CIE-LABlab(34.15, 49.66, 15.11)
CIE-LCHlch(34.15, 51.91, 16.93°)
OKLaboklab(45.18% 0.1493 0.0371)
OKLCHoklch(45.18% 0.154 14)
XYZxyz(14.2836, 8.0810, 4.9445)
Luminance0.0808 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98213B #21987E
analogous
#982177 #98213B #984321
triadic
#98213B #3B9821 #213B98
tetradic
#98213B #779821 #21987E #432198
square
#98213B #779821 #21987E #432198
split-complementary
#98213B #219843 #217798
monochromatic
#330B14 #661627 #98213B #CA2C4F #DB5975

Accessibility & contrast

On white

8.03
#98213B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#98213B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98213B
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98213B#FFFFFF#000000##FFFFFF
##98213B1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42413B
Deuteranopia (green-blind)
#615938
Tritanopia (blue-blind)
#A7002C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #98213b;
/* rgb */ color: rgb(152, 33, 59);
/* oklch */ color: oklch(45.2% 0.154 14.0);
Tailwind
colors: {
  custom: {
    50: '#bd6870',
    500: '#98213b',
    950: '#000000',
  },
}
SCSS
$custom: #98213b;
$custom-light: #bd6870;
$custom-dark: #000000;
JSON
{
  "hex": "#98213b",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 59
  },
  "hsl": {
    "h": 346.891,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45185,
    "c": 0.15389,
    "h": 14
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#98213B
secondary
#56BFA8
accent
#E7C340
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130707
muted
#827A7A

Preview Lab

Preview with #98213B

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

Preview Lab → · Contrast checker → · Palette generator →

#98213B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva