#982438#982438

#982438 is a mid, vivid red. Relative luminance 0.082; OKLCH L 45.4% C 0.151 H 16.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#982438
RGBrgb(152, 36, 56)
HSLhsl(350, 62%, 37%)
HSVhsv(350, 76%, 60%)
CMYKcmyk(0%, 76.3%, 63.2%, 40.4%)
CIE-LABlab(34.45, 48.46, 17.44)
CIE-LCHlch(34.45, 51.50, 19.80°)
OKLaboklab(45.38% 0.1449 0.0423)
OKLCHoklch(45.38% 0.151 16.3)
XYZxyz(14.2951, 8.2248, 4.5754)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982438 #249884
analogous
#982472 #982438 #984A24
triadic
#982438 #389824 #243898
tetradic
#982438 #729824 #249884 #4A2498
square
#982438 #729824 #249884 #4A2498
split-complementary
#982438 #24984A #247298
monochromatic
#350D14 #671826 #982438 #C9304A #D95E73

Accessibility & contrast

On white

7.94
#982438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#982438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #982438
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982438#FFFFFF#000000##FFFFFF
##9824381.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444238
Deuteranopia (green-blind)
#625A35
Tritanopia (blue-blind)
#A7002C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #982438;
/* rgb */ color: rgb(152, 36, 56);
/* oklch */ color: oklch(45.4% 0.151 16.3);
Tailwind
colors: {
  custom: {
    50: '#bd696e',
    500: '#982438',
    950: '#000000',
  },
}
SCSS
$custom: #982438;
$custom-light: #bd696e;
$custom-dark: #000000;
JSON
{
  "hex": "#982438",
  "rgb": {
    "r": 152,
    "g": 36,
    "b": 56
  },
  "hsl": {
    "h": 349.655,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.15094,
    "h": 16.3
  },
  "luminance": 0.08223
}

Semantic roles & 50–950 ramp

primary
#982438
secondary
#5ABEAC
accent
#E5C943
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #982438

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

Preview Lab → · Contrast checker → · Palette generator →

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