#98312D#98312D

#98312D is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.6% C 0.139 H 26.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#98312D
RGBrgb(152, 49, 45)
HSLhsl(2, 54%, 39%)
HSVhsv(2, 70%, 60%)
CMYKcmyk(0%, 67.8%, 70.4%, 40.4%)
CIE-LABlab(36.11, 42.71, 26.45)
CIE-LCHlch(36.11, 50.23, 31.77°)
OKLaboklab(46.56% 0.1243 0.0612)
OKLCHoklch(46.56% 0.139 26.2)
XYZxyz(14.5224, 9.0636, 3.4669)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98312D #2D9498
analogous
#982D5E #98312D #98662D
triadic
#98312D #2D9831 #312D98
tetradic
#98312D #5E982D #2D9498 #662D98
square
#98312D #5E982D #2D9498 #662D98
split-complementary
#98312D #2D9866 #2D5E98
monochromatic
#3A1311 #69221F #98312D #C5423D #D3706C

Accessibility & contrast

On white

7.47
#98312D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#98312D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #98312D
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98312D#FFFFFF#000000##FFFFFF
##98312D1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D472C
Deuteranopia (green-blind)
#675D2A
Tritanopia (blue-blind)
#A71631
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #98312d;
/* rgb */ color: rgb(152, 49, 45);
/* oklch */ color: oklch(46.6% 0.139 26.2);
Tailwind
colors: {
  custom: {
    50: '#bd6f66',
    500: '#98312d',
    950: '#000000',
  },
}
SCSS
$custom: #98312d;
$custom-light: #bd6f66;
$custom-dark: #000000;
JSON
{
  "hex": "#98312d",
  "rgb": {
    "r": 152,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 2.243,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4656,
    "c": 0.13854,
    "h": 26.2
  },
  "luminance": 0.09061
}

Semantic roles & 50–950 ramp

primary
#98312D
secondary
#66B7BA
accent
#D8DE4A
background
#FCF6F6
surface
#F8ECEB
border
#D1C7C6
text
#130806
muted
#827B7A

Preview Lab

Preview with #98312D

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

Preview Lab → · Contrast checker → · Palette generator →

#98312D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva