#982127#982127

#982127 is a dark, vivid red. Relative luminance 0.079; OKLCH L 44.8% C 0.154 H 23.7°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#982127
RGBrgb(152, 33, 39)
HSLhsl(357, 64%, 36%)
HSVhsv(357, 78%, 60%)
CMYKcmyk(0%, 78.3%, 74.3%, 40.4%)
CIE-LABlab(33.80, 48.53, 27.42)
CIE-LCHlch(33.80, 55.74, 29.47°)
OKLaboklab(44.81% 0.1414 0.0622)
OKLCHoklch(44.81% 0.154 23.7)
XYZxyz(13.8606, 7.9118, 2.7164)
Luminance0.0791 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982127 #219892
analogous
#982163 #982127 #985721
triadic
#982127 #279821 #212798
tetradic
#982127 #639821 #219892 #572198
square
#982127 #639821 #219892 #572198
split-complementary
#982127 #219857 #216398
monochromatic
#330B0D #66161A #982127 #CA2C34 #DB595F

Accessibility & contrast

On white

8.13
#982127 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#982127 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982127
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982127#FFFFFF#000000##FFFFFF
##9821271.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F26
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#A80025
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #982127;
/* rgb */ color: rgb(152, 33, 39);
/* oklch */ color: oklch(44.8% 0.154 23.7);
Tailwind
colors: {
  custom: {
    50: '#be6761',
    500: '#982127',
    950: '#000000',
  },
}
SCSS
$custom: #982127;
$custom-light: #be6761;
$custom-dark: #000000;
JSON
{
  "hex": "#982127",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 39
  },
  "hsl": {
    "h": 356.975,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4481,
    "c": 0.15445,
    "h": 23.7
  },
  "luminance": 0.0791
}

Semantic roles & 50–950 ramp

primary
#982127
secondary
#56BFBA
accent
#E7DF40
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140705
muted
#827A79

Preview Lab

Preview with #982127

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

Preview Lab → · Contrast checker → · Palette generator →

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