#982827#982827

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

Color values

HEX#982827
RGBrgb(152, 40, 39)
HSLhsl(1, 59%, 37%)
HSVhsv(1, 74%, 60%)
CMYKcmyk(0%, 73.7%, 74.3%, 40.4%)
CIE-LABlab(34.68, 46.06, 28.44)
CIE-LCHlch(34.68, 54.14, 31.69°)
OKLaboklab(45.47% 0.1336 0.0644)
OKLCHoklch(45.47% 0.148 25.7)
XYZxyz(14.0755, 8.3416, 2.7880)
Luminance0.0834 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982827 #279798
analogous
#98275F #982827 #986127
triadic
#982827 #279828 #282798
tetradic
#982827 #5F9827 #279798 #612798
square
#982827 #5F9827 #279798 #612798
split-complementary
#982827 #279861 #275F98
monochromatic
#370E0E #671B1B #982827 #C93533 #D76463

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982827#FFFFFF#000000##FFFFFF
##9828271.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)
#494226
Deuteranopia (green-blind)
#655A23
Tritanopia (blue-blind)
#A70029
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #982827;
/* rgb */ color: rgb(152, 40, 39);
/* oklch */ color: oklch(45.5% 0.148 25.7);
Tailwind
colors: {
  custom: {
    50: '#be6a61',
    500: '#982827',
    950: '#000000',
  },
}
SCSS
$custom: #982827;
$custom-light: #be6a61;
$custom-dark: #000000;
JSON
{
  "hex": "#982827",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 39
  },
  "hsl": {
    "h": 0.531,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4547,
    "c": 0.14829,
    "h": 25.7
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#982827
secondary
#5EBCBC
accent
#E1E245
background
#FCF6F5
surface
#F9ECEA
border
#D2C7C6
text
#140705
muted
#827A79

Preview Lab

Preview with #982827

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

Preview Lab → · Contrast checker → · Palette generator →

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