#982234#982234

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

Color values

HEX#982234
RGBrgb(152, 34, 52)
HSLhsl(351, 63%, 36%)
HSVhsv(351, 78%, 60%)
CMYKcmyk(0%, 77.6%, 65.8%, 40.4%)
CIE-LABlab(34.13, 48.88, 19.60)
CIE-LCHlch(34.13, 52.67, 21.85°)
OKLaboklab(45.12% 0.1454 0.0469)
OKLCHoklch(45.12% 0.153 17.9)
XYZxyz(14.1423, 8.0695, 4.0611)
Luminance0.0807 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982234 #229886
analogous
#98226F #982234 #984B22
triadic
#982234 #349822 #223498
tetradic
#982234 #6F9822 #229886 #4B2298
square
#982234 #6F9822 #229886 #4B2298
split-complementary
#982234 #22984B #226F98
monochromatic
#340C12 #661723 #982234 #CA2D45 #DA5A6E

Accessibility & contrast

On white

8.04
#982234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#982234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982234
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982234#FFFFFF#000000##FFFFFF
##9822341.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444034
Deuteranopia (green-blind)
#625931
Tritanopia (blue-blind)
#A7002A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #982234;
/* rgb */ color: rgb(152, 34, 52);
/* oklch */ color: oklch(45.1% 0.153 17.9);
Tailwind
colors: {
  custom: {
    50: '#bd686b',
    500: '#982234',
    950: '#000000',
  },
}
SCSS
$custom: #982234;
$custom-light: #bd686b;
$custom-dark: #000000;
JSON
{
  "hex": "#982234",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 52
  },
  "hsl": {
    "h": 350.847,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45122,
    "c": 0.1528,
    "h": 17.9
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#982234
secondary
#57BEAF
accent
#E6CD41
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130706
muted
#827A7A

Preview Lab

Preview with #982234

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

Preview Lab → · Contrast checker → · Palette generator →

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