#982238#982238

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

Color values

HEX#982238
RGBrgb(152, 34, 56)
HSLhsl(349, 63%, 36%)
HSVhsv(349, 78%, 60%)
CMYKcmyk(0%, 77.6%, 63.2%, 40.4%)
CIE-LABlab(34.20, 49.13, 17.13)
CIE-LCHlch(34.20, 52.03, 19.22°)
OKLaboklab(45.21% 0.1471 0.0416)
OKLCHoklch(45.21% 0.153 15.8)
XYZxyz(14.2362, 8.1071, 4.5558)
Luminance0.0810 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982238 #229882
analogous
#982273 #982238 #984722
triadic
#982238 #389822 #223898
tetradic
#982238 #739822 #229882 #472298
square
#982238 #739822 #229882 #472298
split-complementary
#982238 #229847 #227398
monochromatic
#340C13 #661726 #982238 #CA2D4A #DA5A72

Accessibility & contrast

On white

8.01
#982238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982238
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982238#FFFFFF#000000##FFFFFF
##9822381.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982238;
/* rgb */ color: rgb(152, 34, 56);
/* oklch */ color: oklch(45.2% 0.153 15.8);
Tailwind
colors: {
  custom: {
    50: '#bd686e',
    500: '#982238',
    950: '#000000',
  },
}
SCSS
$custom: #982238;
$custom-light: #bd686e;
$custom-dark: #000000;
JSON
{
  "hex": "#982238",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 348.814,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45205,
    "c": 0.15283,
    "h": 15.8
  },
  "luminance": 0.08105
}

Semantic roles & 50–950 ramp

primary
#982238
secondary
#57BEAB
accent
#E6C841
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #982238

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

Preview Lab → · Contrast checker → · Palette generator →

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