#982223#982223

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

Color values

HEX#982223
RGBrgb(152, 34, 35)
HSLhsl(359, 63%, 36%)
HSVhsv(359, 78%, 60%)
CMYKcmyk(0%, 77.6%, 77%, 40.4%)
CIE-LABlab(33.86, 48.03, 29.94)
CIE-LCHlch(33.86, 56.59, 31.93°)
OKLaboklab(44.84% 0.1389 0.0667)
OKLCHoklch(44.84% 0.154 25.7)
XYZxyz(13.8259, 7.9430, 2.3949)
Luminance0.0794 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982223 #229897
analogous
#98225E #982223 #985C22
triadic
#982223 #239822 #222398
tetradic
#982223 #5E9822 #229897 #5C2298
square
#982223 #5E9822 #229897 #5C2298
split-complementary
#982223 #22985C #225E98
monochromatic
#340C0C #661717 #982223 #CA2D2F #DA5A5B

Accessibility & contrast

On white

8.11
#982223 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#982223 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##982223#FFFFFF#000000##FFFFFF
##9822231.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)
#463F22
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#A80024
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #982223;
/* rgb */ color: rgb(152, 34, 35);
/* oklch */ color: oklch(44.8% 0.154 25.7);
Tailwind
colors: {
  custom: {
    50: '#bf685e',
    500: '#982223',
    950: '#000000',
  },
}
SCSS
$custom: #982223;
$custom-light: #bf685e;
$custom-dark: #000000;
JSON
{
  "hex": "#982223",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 35
  },
  "hsl": {
    "h": 359.492,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44842,
    "c": 0.15408,
    "h": 25.7
  },
  "luminance": 0.07941
}

Semantic roles & 50–950 ramp

primary
#982223
secondary
#57BEBE
accent
#E6E541
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #982223

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

Preview Lab → · Contrast checker → · Palette generator →

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