#98223A#98223A

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

Color values

HEX#98223A
RGBrgb(152, 34, 58)
HSLhsl(348, 63%, 36%)
HSVhsv(348, 78%, 60%)
CMYKcmyk(0%, 77.6%, 61.8%, 40.4%)
CIE-LABlab(34.25, 49.27, 15.89)
CIE-LCHlch(34.25, 51.77, 17.87°)
OKLaboklab(45.25% 0.1479 0.0389)
OKLCHoklch(45.25% 0.153 14.7)
XYZxyz(14.2861, 8.1271, 4.8186)
Luminance0.0813 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98223A #229880
analogous
#982275 #98223A #984522
triadic
#98223A #3A9822 #223A98
tetradic
#98223A #759822 #229880 #452298
square
#98223A #759822 #229880 #452298
split-complementary
#98223A #229845 #227598
monochromatic
#340C14 #661727 #98223A #CA2D4D #DA5A74

Accessibility & contrast

On white

8.00
#98223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #98223A
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98223A#FFFFFF#000000##FFFFFF
##98223A1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43413A
Deuteranopia (green-blind)
#615937
Tritanopia (blue-blind)
#A7002C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #98223a;
/* rgb */ color: rgb(152, 34, 58);
/* oklch */ color: oklch(45.2% 0.153 14.7);
Tailwind
colors: {
  custom: {
    50: '#bd686f',
    500: '#98223a',
    950: '#000000',
  },
}
SCSS
$custom: #98223a;
$custom-light: #bd686f;
$custom-dark: #000000;
JSON
{
  "hex": "#98223a",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 347.797,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45248,
    "c": 0.1529,
    "h": 14.7
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98223A

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

Preview Lab → · Contrast checker → · Palette generator →

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