#982138#982138

#982138 is a mid, vivid red. Relative luminance 0.080; OKLCH L 45.1% C 0.154 H 15.6°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#982138
RGBrgb(152, 33, 56)
HSLhsl(348, 64%, 36%)
HSVhsv(348, 78%, 60%)
CMYKcmyk(0%, 78.3%, 63.2%, 40.4%)
CIE-LABlab(34.09, 49.46, 16.97)
CIE-LCHlch(34.09, 52.29, 18.94°)
OKLaboklab(45.12% 0.1481 0.0412)
OKLCHoklch(45.12% 0.154 15.6)
XYZxyz(14.2080, 8.0508, 4.5464)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982138 #219881
analogous
#982174 #982138 #984621
triadic
#982138 #389821 #213898
tetradic
#982138 #749821 #219881 #462198
square
#982138 #749821 #219881 #462198
split-complementary
#982138 #219846 #217498
monochromatic
#330B13 #661625 #982138 #CA2C4B #DB5972

Accessibility & contrast

On white

8.05
#982138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #982138
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982138#FFFFFF#000000##FFFFFF
##9821381.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #982138;
/* rgb */ color: rgb(152, 33, 56);
/* oklch */ color: oklch(45.1% 0.154 15.6);
Tailwind
colors: {
  custom: {
    50: '#bd686e',
    500: '#982138',
    950: '#000000',
  },
}
SCSS
$custom: #982138;
$custom-light: #bd686e;
$custom-dark: #000000;
JSON
{
  "hex": "#982138",
  "rgb": {
    "r": 152,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 348.403,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45118,
    "c": 0.15374,
    "h": 15.6
  },
  "luminance": 0.08049
}

Semantic roles & 50–950 ramp

primary
#982138
secondary
#56BFAB
accent
#E7C740
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#130707
muted
#827A7A

Preview Lab

Preview with #982138

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

Preview Lab → · Contrast checker → · Palette generator →

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