#98313B#98313B

#98313B is a mid, vivid red. Relative luminance 0.092; OKLCH L 46.8% C 0.137 H 18.7°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#98313B
RGBrgb(152, 49, 59)
HSLhsl(354, 51%, 39%)
HSVhsv(354, 68%, 60%)
CMYKcmyk(0%, 67.8%, 61.2%, 40.4%)
CIE-LABlab(36.35, 43.59, 18.02)
CIE-LCHlch(36.35, 47.17, 22.46°)
OKLaboklab(46.82% 0.1299 0.0439)
OKLCHoklch(46.82% 0.137 18.7)
XYZxyz(14.8380, 9.1898, 5.1293)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98313B #31988E
analogous
#98316F #98313B #985B31
triadic
#98313B #3B9831 #313B98
tetradic
#98313B #6F9831 #31988E #5B3198
square
#98313B #6F9831 #31988E #5B3198
split-complementary
#98313B #31985B #316F98
monochromatic
#3B1317 #6A2229 #98313B #C34450 #D2727B

Accessibility & contrast

On white

7.40
#98313B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#98313B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98313B
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98313B#FFFFFF#000000##FFFFFF
##98313B1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B483B
Deuteranopia (green-blind)
#665D38
Tritanopia (blue-blind)
#A71A35
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #98313b;
/* rgb */ color: rgb(152, 49, 59);
/* oklch */ color: oklch(46.8% 0.137 18.7);
Tailwind
colors: {
  custom: {
    50: '#bc6f70',
    500: '#98313b',
    950: '#000000',
  },
}
SCSS
$custom: #98313b;
$custom-light: #bc6f70;
$custom-dark: #000000;
JSON
{
  "hex": "#98313b",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 354.175,
    "s": 51.244,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46818,
    "c": 0.13713,
    "h": 18.7
  },
  "luminance": 0.09188
}

Semantic roles & 50–950 ramp

primary
#98313B
secondary
#6BB9B2
accent
#DBCD4D
background
#FCF7F6
surface
#F8EDEC
border
#D1C8C7
text
#130807
muted
#827B7A

Preview Lab

Preview with #98313B

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

Preview Lab → · Contrast checker → · Palette generator →

#98313B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva