#982237#982237

#982237 is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.2% C 0.153 H 16.3°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#982237
RGBrgb(152, 34, 55)
HSLhsl(349, 63%, 36%)
HSVhsv(349, 78%, 60%)
CMYKcmyk(0%, 77.6%, 63.8%, 40.4%)
CIE-LABlab(34.18, 49.07, 17.75)
CIE-LCHlch(34.18, 52.18, 19.88°)
OKLaboklab(45.18% 0.1467 0.0429)
OKLCHoklch(45.18% 0.153 16.3)
XYZxyz(14.2120, 8.0974, 4.4283)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982237 #229883
analogous
#982272 #982237 #984822
triadic
#982237 #379822 #223798
tetradic
#982237 #729822 #229883 #482298
square
#982237 #729822 #229883 #482298
split-complementary
#982237 #229848 #227298
monochromatic
#340C13 #661725 #982237 #CA2D49 #DA5A71

Accessibility & contrast

On white

8.02
#982237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#982237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982237
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982237#FFFFFF#000000##FFFFFF
##9822371.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434137
Deuteranopia (green-blind)
#615934
Tritanopia (blue-blind)
#A7002B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #982237;
/* rgb */ color: rgb(152, 34, 55);
/* oklch */ color: oklch(45.2% 0.153 16.3);
Tailwind
colors: {
  custom: {
    50: '#bd686d',
    500: '#982237',
    950: '#000000',
  },
}
SCSS
$custom: #982237;
$custom-light: #bd686d;
$custom-dark: #000000;
JSON
{
  "hex": "#982237",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 55
  },
  "hsl": {
    "h": 349.322,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45183,
    "c": 0.1528,
    "h": 16.3
  },
  "luminance": 0.08095
}

Semantic roles & 50–950 ramp

primary
#982237
secondary
#57BEAC
accent
#E6C941
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #982237

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

Preview Lab → · Contrast checker → · Palette generator →

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