#982840#982840

#982840 is a mid, vivid red. Relative luminance 0.086; OKLCH L 45.9% C 0.147 H 12.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#982840
RGBrgb(152, 40, 64)
HSLhsl(347, 58%, 38%)
HSVhsv(347, 74%, 60%)
CMYKcmyk(0%, 73.7%, 57.9%, 40.4%)
CIE-LABlab(35.13, 47.59, 13.20)
CIE-LCHlch(35.13, 49.38, 15.51°)
OKLaboklab(45.95% 0.1436 0.0329)
OKLCHoklch(45.95% 0.147 12.9)
XYZxyz(14.6345, 8.5652, 5.7321)
Luminance0.0856 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982840 #289880
analogous
#982878 #982840 #984828
triadic
#982840 #409828 #284098
tetradic
#982840 #789828 #289880 #482898
square
#982840 #789828 #289880 #482898
split-complementary
#982840 #289848 #287898
monochromatic
#370F17 #681B2C #982840 #C83554 #D6647D

Accessibility & contrast

On white

7.74
#982840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#982840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982840
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982840#FFFFFF#000000##FFFFFF
##9828401.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454440
Deuteranopia (green-blind)
#625B3D
Tritanopia (blue-blind)
#A60932
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #982840;
/* rgb */ color: rgb(152, 40, 64);
/* oklch */ color: oklch(45.9% 0.147 12.9);
Tailwind
colors: {
  custom: {
    50: '#bc6b74',
    500: '#982840',
    950: '#000000',
  },
}
SCSS
$custom: #982840;
$custom-light: #bc6b74;
$custom-dark: #000000;
JSON
{
  "hex": "#982840",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 347.143,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45948,
    "c": 0.14728,
    "h": 12.9
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#982840
secondary
#60BCA8
accent
#E2C046
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #982840

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

Preview Lab → · Contrast checker → · Palette generator →

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