#982340#982340

#982340 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.5% C 0.152 H 11.7°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#982340
RGBrgb(152, 35, 64)
HSLhsl(345, 63%, 37%)
HSVhsv(345, 77%, 60%)
CMYKcmyk(0%, 77%, 57.9%, 40.4%)
CIE-LABlab(34.50, 49.36, 12.34)
CIE-LCHlch(34.50, 50.88, 14.03°)
OKLaboklab(45.48% 0.1493 0.0309)
OKLCHoklch(45.48% 0.152 11.7)
XYZxyz(14.4768, 8.2497, 5.6796)
Luminance0.0825 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982340 #23987B
analogous
#98237B #982340 #984123
triadic
#982340 #409823 #234098
tetradic
#982340 #7B9823 #23987B #412398
square
#982340 #7B9823 #23987B #412398
split-complementary
#982340 #239841 #237B98
monochromatic
#350C16 #66182B #982340 #CA2E55 #D95C7B

Accessibility & contrast

On white

7.93
#982340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#982340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982340
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982340#FFFFFF#000000##FFFFFF
##9823401.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424240
Deuteranopia (green-blind)
#605A3D
Tritanopia (blue-blind)
#A6002F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982340;
/* rgb */ color: rgb(152, 35, 64);
/* oklch */ color: oklch(45.5% 0.152 11.7);
Tailwind
colors: {
  custom: {
    50: '#bd6974',
    500: '#982340',
    950: '#000000',
  },
}
SCSS
$custom: #982340;
$custom-light: #bd6974;
$custom-dark: #000000;
JSON
{
  "hex": "#982340",
  "rgb": {
    "r": 152,
    "g": 35,
    "b": 64
  },
  "hsl": {
    "h": 345.128,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45478,
    "c": 0.15241,
    "h": 11.7
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#982340
secondary
#59BEA5
accent
#E6BD42
background
#FCF6F7
surface
#F8EBED
border
#D1C6C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #982340

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

Preview Lab → · Contrast checker → · Palette generator →

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