#98223B#98223B

#98223B is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.3% C 0.153 H 14.2°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#98223B
RGBrgb(152, 34, 59)
HSLhsl(347, 63%, 36%)
HSVhsv(347, 78%, 60%)
CMYKcmyk(0%, 77.6%, 61.2%, 40.4%)
CIE-LABlab(34.27, 49.34, 15.27)
CIE-LCHlch(34.27, 51.64, 17.20°)
OKLaboklab(45.27% 0.1483 0.0375)
OKLCHoklch(45.27% 0.153 14.2)
XYZxyz(14.3118, 8.1373, 4.9539)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98223B #22987F
analogous
#982276 #98223B #984422
triadic
#98223B #3B9822 #223B98
tetradic
#98223B #769822 #22987F #442298
square
#98223B #769822 #22987F #442298
split-complementary
#98223B #229844 #227698
monochromatic
#340C14 #661728 #98223B #CA2D4E #DA5A75

Accessibility & contrast

On white

7.99
#98223B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#98223B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98223B
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98223B#FFFFFF#000000##FFFFFF
##98223B1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43413B
Deuteranopia (green-blind)
#615938
Tritanopia (blue-blind)
#A7002D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #98223b;
/* rgb */ color: rgb(152, 34, 59);
/* oklch */ color: oklch(45.3% 0.153 14.2);
Tailwind
colors: {
  custom: {
    50: '#bd6870',
    500: '#98223b',
    950: '#000000',
  },
}
SCSS
$custom: #98223b;
$custom-light: #bd6870;
$custom-dark: #000000;
JSON
{
  "hex": "#98223b",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 59
  },
  "hsl": {
    "h": 347.288,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45271,
    "c": 0.15296,
    "h": 14.2
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#98223B
secondary
#57BEA9
accent
#E6C341
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130707
muted
#827A7A

Preview Lab

Preview with #98223B

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

Preview Lab → · Contrast checker → · Palette generator →

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