#9E1F30#9E1F30

#9E1F30 is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.9% C 0.161 H 19.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#9E1F30
RGBrgb(158, 31, 48)
HSLhsl(352, 67%, 37%)
HSVhsv(352, 80%, 62%)
CMYKcmyk(0%, 80.4%, 69.6%, 38%)
CIE-LABlab(34.93, 51.42, 23.43)
CIE-LCHlch(34.93, 56.50, 24.50°)
OKLaboklab(45.91% 0.1518 0.0547)
OKLCHoklch(45.91% 0.161 19.8)
XYZxyz(15.1257, 8.4648, 3.6332)
Luminance0.0846 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F30 #1F9E8D
analogous
#9E1F6F #9E1F30 #9E4E1F
triadic
#9E1F30 #309E1F #1F309E
tetradic
#9E1F30 #6F9E1F #1F9E8D #4E1F9E
square
#9E1F30 #6F9E1F #1F9E8D #4E1F9E
split-complementary
#9E1F30 #1F9E4E #1F6F9E
monochromatic
#380B11 #6B1520 #9E1F30 #D12940 #DE596B

Accessibility & contrast

On white

7.80
#9E1F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9E1F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F30
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F30#FFFFFF#000000##FFFFFF
##9E1F301.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464130
Deuteranopia (green-blind)
#655C2C
Tritanopia (blue-blind)
#AE0027
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1f30;
/* rgb */ color: rgb(158, 31, 48);
/* oklch */ color: oklch(45.9% 0.161 19.8);
Tailwind
colors: {
  custom: {
    50: '#c26868',
    500: '#9e1f30',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f30;
$custom-light: #c26868;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f30",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 48
  },
  "hsl": {
    "h": 351.969,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45913,
    "c": 0.16138,
    "h": 19.8
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#9E1F30
secondary
#56C2B4
accent
#EAD33E
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A

Preview Lab

Preview with #9E1F30

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

Preview Lab → · Contrast checker → · Palette generator →

#9E1F30 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva