#982838#982838

#982838 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.8% C 0.147 H 17.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#982838
RGBrgb(152, 40, 56)
HSLhsl(351, 58%, 38%)
HSVhsv(351, 74%, 60%)
CMYKcmyk(0%, 73.7%, 63.2%, 40.4%)
CIE-LABlab(34.96, 47.02, 18.12)
CIE-LCHlch(34.96, 50.39, 21.08°)
OKLaboklab(45.77% 0.1403 0.0439)
OKLCHoklch(45.77% 0.147 17.4)
XYZxyz(14.4230, 8.4806, 4.6181)
Luminance0.0848 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982838 #289888
analogous
#982870 #982838 #985028
triadic
#982838 #389828 #283898
tetradic
#982838 #709828 #289888 #502898
square
#982838 #709828 #289888 #502898
split-complementary
#982838 #289850 #287098
monochromatic
#370F14 #681B26 #982838 #C8354A #D66474

Accessibility & contrast

On white

7.79
#982838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#982838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982838
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982838#FFFFFF#000000##FFFFFF
##9828381.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464338
Deuteranopia (green-blind)
#635B35
Tritanopia (blue-blind)
#A7032F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982838;
/* rgb */ color: rgb(152, 40, 56);
/* oklch */ color: oklch(45.8% 0.147 17.4);
Tailwind
colors: {
  custom: {
    50: '#bd6b6e',
    500: '#982838',
    950: '#000000',
  },
}
SCSS
$custom: #982838;
$custom-light: #bd6b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#982838",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 351.429,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45768,
    "c": 0.14697,
    "h": 17.4
  },
  "luminance": 0.08479
}

Semantic roles & 50–950 ramp

primary
#982838
secondary
#60BCAF
accent
#E2CB46
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #982838

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

Preview Lab → · Contrast checker → · Palette generator →

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