#982825#982825

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

Color values

HEX#982825
RGBrgb(152, 40, 37)
HSLhsl(2, 61%, 37%)
HSVhsv(2, 76%, 60%)
CMYKcmyk(0%, 73.7%, 75.7%, 40.4%)
CIE-LABlab(34.66, 45.98, 29.62)
CIE-LCHlch(34.66, 54.69, 32.79°)
OKLaboklab(45.44% 0.1328 0.0665)
OKLCHoklch(45.44% 0.149 26.6)
XYZxyz(14.0432, 8.3287, 2.6181)
Luminance0.0833 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982825 #259598
analogous
#98255C #982825 #986225
triadic
#982825 #259828 #282598
tetradic
#982825 #5C9825 #259598 #622598
square
#982825 #5C9825 #259598 #622598
split-complementary
#982825 #259862 #255C98
monochromatic
#360E0D #671B19 #982825 #C93531 #D8625F

Accessibility & contrast

On white

7.88
#982825 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982825
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982825#FFFFFF#000000##FFFFFF
##9828251.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494224
Deuteranopia (green-blind)
#655A21
Tritanopia (blue-blind)
#A80029
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982825;
/* rgb */ color: rgb(152, 40, 37);
/* oklch */ color: oklch(45.4% 0.149 26.6);
Tailwind
colors: {
  custom: {
    50: '#be6a60',
    500: '#982825',
    950: '#000000',
  },
}
SCSS
$custom: #982825;
$custom-light: #be6a60;
$custom-dark: #000000;
JSON
{
  "hex": "#982825",
  "rgb": {
    "r": 152,
    "g": 40,
    "b": 37
  },
  "hsl": {
    "h": 1.565,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45442,
    "c": 0.14856,
    "h": 26.6
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#982825
secondary
#5CBBBD
accent
#E0E444
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140705
muted
#827A79

Preview Lab

Preview with #982825

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

Preview Lab → · Contrast checker → · Palette generator →

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