#982023#982023

#982023 is a dark, vivid red. Relative luminance 0.078; OKLCH L 44.7% C 0.156 H 25.1°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#982023
RGBrgb(152, 32, 35)
HSLhsl(359, 65%, 36%)
HSVhsv(359, 79%, 60%)
CMYKcmyk(0%, 78.9%, 77%, 40.4%)
CIE-LABlab(33.63, 48.68, 29.68)
CIE-LCHlch(33.63, 57.02, 31.37°)
OKLaboklab(44.67% 0.141 0.0661)
OKLCHoklch(44.67% 0.156 25.1)
XYZxyz(13.7704, 7.8320, 2.3764)
Luminance0.0783 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982023 #209895
analogous
#98205F #982023 #985920
triadic
#982023 #239820 #202398
tetradic
#982023 #5F9820 #209895 #592098
square
#982023 #5F9820 #209895 #592098
split-complementary
#982023 #209859 #205F98
monochromatic
#330B0C #651517 #982023 #CB2B2F #DC575A

Accessibility & contrast

On white

8.18
#982023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#982023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982023
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982023#FFFFFF#000000##FFFFFF
##9820231.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982023;
/* rgb */ color: rgb(152, 32, 35);
/* oklch */ color: oklch(44.7% 0.156 25.1);
Tailwind
colors: {
  custom: {
    50: '#bf675e',
    500: '#982023',
    950: '#000000',
  },
}
SCSS
$custom: #982023;
$custom-light: #bf675e;
$custom-dark: #000000;
JSON
{
  "hex": "#982023",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 35
  },
  "hsl": {
    "h": 358.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44668,
    "c": 0.15569,
    "h": 25.1
  },
  "luminance": 0.0783
}

Semantic roles & 50–950 ramp

primary
#982023
secondary
#54BFBD
accent
#E8E440
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79

Preview Lab

Preview with #982023

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

Preview Lab → · Contrast checker → · Palette generator →

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