#982740#982740

#982740 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.148 H 12.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#982740
RGBrgb(152, 39, 64)
HSLhsl(347, 59%, 37%)
HSVhsv(347, 74%, 60%)
CMYKcmyk(0%, 74.3%, 57.9%, 40.4%)
CIE-LABlab(35.00, 47.95, 13.02)
CIE-LCHlch(35.00, 49.69, 15.19°)
OKLaboklab(45.85% 0.1447 0.0325)
OKLCHoklch(45.85% 0.148 12.7)
XYZxyz(14.6012, 8.4987, 5.7210)
Luminance0.0850 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982740 #27987F
analogous
#982778 #982740 #984727
triadic
#982740 #409827 #274098
tetradic
#982740 #789827 #27987F #472798
square
#982740 #789827 #27987F #472798
split-complementary
#982740 #279847 #277898
monochromatic
#370E17 #671B2B #982740 #C93355 #D7637C

Accessibility & contrast

On white

7.78
#982740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982740
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982740#FFFFFF#000000##FFFFFF
##9827401.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982740;
/* rgb */ color: rgb(152, 39, 64);
/* oklch */ color: oklch(45.9% 0.148 12.7);
Tailwind
colors: {
  custom: {
    50: '#bc6b74',
    500: '#982740',
    950: '#000000',
  },
}
SCSS
$custom: #982740;
$custom-light: #bc6b74;
$custom-dark: #000000;
JSON
{
  "hex": "#982740",
  "rgb": {
    "r": 152,
    "g": 39,
    "b": 64
  },
  "hsl": {
    "h": 346.726,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4585,
    "c": 0.14833,
    "h": 12.7
  },
  "luminance": 0.08497
}

Semantic roles & 50–950 ramp

primary
#982740
secondary
#5EBCA8
accent
#E2C045
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #982740

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

Preview Lab → · Contrast checker → · Palette generator →

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