#982828#982828

#982828 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.5% C 0.148 H 25.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#982828
RGBrgb(152, 40, 40)
HSLhsl(0, 58%, 38%)
HSVhsv(0, 74%, 60%)
CMYKcmyk(0%, 73.7%, 73.7%, 40.4%)
CIE-LABlab(34.70, 46.11, 27.85)
CIE-LCHlch(34.70, 53.87, 31.13°)
OKLaboklab(45.48% 0.1339 0.0633)
OKLCHoklch(45.48% 0.148 25.3)
XYZxyz(14.0923, 8.3483, 2.8764)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982828 #289898
analogous
#982860 #982828 #986028
triadic
#982828 #289828 #282898
tetradic
#982828 #609828 #289898 #602898
square
#982828 #609828 #289898 #602898
split-complementary
#982828 #289860 #286098
monochromatic
#370F0F #681B1B #982828 #C83535 #D66464

Accessibility & contrast

On white

7.87
#982828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#982828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982828
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982828#FFFFFF#000000##FFFFFF
##9828281.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494227
Deuteranopia (green-blind)
#645A24
Tritanopia (blue-blind)
#A70029
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982828;
/* rgb */ color: rgb(152, 40, 40);
/* oklch */ color: oklch(45.5% 0.148 25.3);
Tailwind
colors: {
  custom: {
    50: '#be6b62',
    500: '#982828',
    950: '#000000',
  },
}
SCSS
$custom: #982828;
$custom-light: #be6b62;
$custom-dark: #000000;
JSON
{
  "hex": "#982828",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 40
  },
  "hsl": {
    "h": 0,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45484,
    "c": 0.14816,
    "h": 25.3
  },
  "luminance": 0.08346
}

Semantic roles & 50–950 ramp

primary
#982828
secondary
#60BCBC
accent
#E2E246
background
#FCF6F5
surface
#F9ECEA
border
#D2C7C6
text
#140705
muted
#827A79

Preview Lab

Preview with #982828

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

Preview Lab → · Contrast checker → · Palette generator →

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