#982236#982236

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

Color values

HEX#982236
RGBrgb(152, 34, 54)
HSLhsl(350, 63%, 36%)
HSVhsv(350, 78%, 60%)
CMYKcmyk(0%, 77.6%, 64.5%, 40.4%)
CIE-LABlab(34.17, 49.01, 18.37)
CIE-LCHlch(34.17, 52.34, 20.54°)
OKLaboklab(45.16% 0.1463 0.0443)
OKLCHoklch(45.16% 0.153 16.8)
XYZxyz(14.1883, 8.0879, 4.3033)
Luminance0.0809 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982236 #229884
analogous
#982271 #982236 #984922
triadic
#982236 #369822 #223698
tetradic
#982236 #719822 #229884 #492298
square
#982236 #719822 #229884 #492298
split-complementary
#982236 #229849 #227198
monochromatic
#340C12 #661724 #982236 #CA2D48 #DA5A70

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##982236#FFFFFF#000000##FFFFFF
##9822361.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)
#444136
Deuteranopia (green-blind)
#615933
Tritanopia (blue-blind)
#A7002B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #982236;
/* rgb */ color: rgb(152, 34, 54);
/* oklch */ color: oklch(45.2% 0.153 16.8);
Tailwind
colors: {
  custom: {
    50: '#bd686c',
    500: '#982236',
    950: '#000000',
  },
}
SCSS
$custom: #982236;
$custom-light: #bd686c;
$custom-dark: #000000;
JSON
{
  "hex": "#982236",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 54
  },
  "hsl": {
    "h": 349.831,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45162,
    "c": 0.1528,
    "h": 16.8
  },
  "luminance": 0.08086
}

Semantic roles & 50–950 ramp

primary
#982236
secondary
#57BEAD
accent
#E6CA41
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #982236

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

Preview Lab → · Contrast checker → · Palette generator →

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