#982123#982123

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

Color values

HEX#982123
RGBrgb(152, 33, 35)
HSLhsl(359, 64%, 36%)
HSVhsv(359, 78%, 60%)
CMYKcmyk(0%, 78.3%, 77%, 40.4%)
CIE-LABlab(33.75, 48.36, 29.80)
CIE-LCHlch(33.75, 56.81, 31.65°)
OKLaboklab(44.75% 0.1399 0.0664)
OKLCHoklch(44.75% 0.155 25.4)
XYZxyz(13.7978, 7.8866, 2.3855)
Luminance0.0788 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982123 #219896
analogous
#98215F #982123 #985B21
triadic
#982123 #239821 #212398
tetradic
#982123 #5F9821 #219896 #5B2198
square
#982123 #5F9821 #219896 #5B2198
split-complementary
#982123 #21985B #215F98
monochromatic
#330B0C #661617 #982123 #CA2C2F #DB595B

Accessibility & contrast

On white

8.15
#982123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#982123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982123
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982123#FFFFFF#000000##FFFFFF
##9821231.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F22
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#A80023
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #982123;
/* rgb */ color: rgb(152, 33, 35);
/* oklch */ color: oklch(44.8% 0.155 25.4);
Tailwind
colors: {
  custom: {
    50: '#bf675e',
    500: '#982123',
    950: '#000000',
  },
}
SCSS
$custom: #982123;
$custom-light: #bf675e;
$custom-dark: #000000;
JSON
{
  "hex": "#982123",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 35
  },
  "hsl": {
    "h": 358.992,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44754,
    "c": 0.15489,
    "h": 25.4
  },
  "luminance": 0.07884
}

Semantic roles & 50–950 ramp

primary
#982123
secondary
#56BFBD
accent
#E7E540
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #982123

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

Preview Lab → · Contrast checker → · Palette generator →

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