#982631#982631

#982631 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.4% C 0.149 H 20.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#982631
RGBrgb(152, 38, 49)
HSLhsl(354, 60%, 37%)
HSVhsv(354, 75%, 60%)
CMYKcmyk(0%, 75%, 67.8%, 40.4%)
CIE-LABlab(34.57, 47.32, 22.08)
CIE-LCHlch(34.57, 52.22, 25.01°)
OKLaboklab(45.43% 0.1398 0.0521)
OKLCHoklch(45.43% 0.149 20.4)
XYZxyz(14.1979, 8.2855, 3.7568)
Luminance0.0828 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982631 #26988D
analogous
#98266A #982631 #985426
triadic
#982631 #319826 #263198
tetradic
#982631 #6A9826 #26988D #542698
square
#982631 #6A9826 #26988D #542698
split-complementary
#982631 #269854 #266A98
monochromatic
#360E11 #671A21 #982631 #C93241 #D7616C

Accessibility & contrast

On white

7.90
#982631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#982631 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982631
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982631#FFFFFF#000000##FFFFFF
##9826311.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464231
Deuteranopia (green-blind)
#635A2E
Tritanopia (blue-blind)
#A7002B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982631;
/* rgb */ color: rgb(152, 38, 49);
/* oklch */ color: oklch(45.4% 0.149 20.4);
Tailwind
colors: {
  custom: {
    50: '#bd6a69',
    500: '#982631',
    950: '#000000',
  },
}
SCSS
$custom: #982631;
$custom-light: #bd6a69;
$custom-dark: #000000;
JSON
{
  "hex": "#982631",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 49
  },
  "hsl": {
    "h": 354.211,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45434,
    "c": 0.14918,
    "h": 20.4
  },
  "luminance": 0.08283
}

Semantic roles & 50–950 ramp

primary
#982631
secondary
#5DBDB4
accent
#E3D445
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #982631

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

Preview Lab → · Contrast checker → · Palette generator →

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