#98223F#98223F

#98223F is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.153 H 12.0°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#98223F
RGBrgb(152, 34, 63)
HSLhsl(345, 63%, 36%)
HSVhsv(345, 78%, 60%)
CMYKcmyk(0%, 77.6%, 58.6%, 40.4%)
CIE-LABlab(34.36, 49.62, 12.79)
CIE-LCHlch(34.36, 51.24, 14.46°)
OKLaboklab(45.37% 0.1499 0.0319)
OKLCHoklch(45.37% 0.153 12)
XYZxyz(14.4195, 8.1804, 5.5214)
Luminance0.0818 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98223F #22987B
analogous
#98227A #98223F #984022
triadic
#98223F #3F9822 #223F98
tetradic
#98223F #7A9822 #22987B #402298
square
#98223F #7A9822 #22987B #402298
split-complementary
#98223F #229840 #227A98
monochromatic
#340C16 #66172A #98223F #CA2D54 #DA5A7A

Accessibility & contrast

On white

7.97
#98223F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#98223F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98223F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98223F#FFFFFF#000000##FFFFFF
##98223F1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42413F
Deuteranopia (green-blind)
#60593C
Tritanopia (blue-blind)
#A7002E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #98223f;
/* rgb */ color: rgb(152, 34, 63);
/* oklch */ color: oklch(45.4% 0.153 12.0);
Tailwind
colors: {
  custom: {
    50: '#bd6873',
    500: '#98223f',
    950: '#000000',
  },
}
SCSS
$custom: #98223f;
$custom-light: #bd6873;
$custom-dark: #000000;
JSON
{
  "hex": "#98223f",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 63
  },
  "hsl": {
    "h": 345.254,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45365,
    "c": 0.15327,
    "h": 12
  },
  "luminance": 0.08178
}

Semantic roles & 50–950 ramp

primary
#98223F
secondary
#57BEA5
accent
#E6BE41
background
#FCF6F6
surface
#F8EBEC
border
#D1C6C7
text
#130708
muted
#827A7B

Preview Lab

Preview with #98223F

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

Preview Lab → · Contrast checker → · Palette generator →

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