#982638#982638

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

Color values

HEX#982638
RGBrgb(152, 38, 56)
HSLhsl(351, 60%, 37%)
HSVhsv(351, 75%, 60%)
CMYKcmyk(0%, 75%, 63.2%, 40.4%)
CIE-LABlab(34.70, 47.75, 17.78)
CIE-LCHlch(34.70, 50.95, 20.42°)
OKLaboklab(45.57% 0.1426 0.0431)
OKLCHoklch(45.57% 0.149 16.8)
XYZxyz(14.3573, 8.3492, 4.5962)
Luminance0.0835 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982638 #269886
analogous
#982671 #982638 #984D26
triadic
#982638 #389826 #263898
tetradic
#982638 #719826 #269886 #4D2698
square
#982638 #719826 #269886 #4D2698
split-complementary
#982638 #26984D #267198
monochromatic
#360E14 #671A26 #982638 #C9324A #D76174

Accessibility & contrast

On white

7.87
#982638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#982638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982638
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982638#FFFFFF#000000##FFFFFF
##9826381.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454238
Deuteranopia (green-blind)
#625A35
Tritanopia (blue-blind)
#A7002E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982638;
/* rgb */ color: rgb(152, 38, 56);
/* oklch */ color: oklch(45.6% 0.149 16.8);
Tailwind
colors: {
  custom: {
    50: '#bd6a6e',
    500: '#982638',
    950: '#000000',
  },
}
SCSS
$custom: #982638;
$custom-light: #bd6a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#982638",
  "rgb": {
    "r": 152,
    "g": 38,
    "b": 56
  },
  "hsl": {
    "h": 350.526,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45572,
    "c": 0.14899,
    "h": 16.8
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#982638
secondary
#5DBDAE
accent
#E3CA45
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #982638

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

Preview Lab → · Contrast checker → · Palette generator →

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