#9E2F3A#9E2F3A

#9E2F3A is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.6% C 0.146 H 19.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9E2F3A
RGBrgb(158, 47, 58)
HSLhsl(354, 54%, 40%)
HSVhsv(354, 70%, 62%)
CMYKcmyk(0%, 70.3%, 63.3%, 38%)
CIE-LABlab(37.13, 46.38, 19.89)
CIE-LCHlch(37.13, 50.46, 23.21°)
OKLaboklab(47.61% 0.1378 0.048)
OKLCHoklch(47.61% 0.146 19.2)
XYZxyz(15.8824, 9.6099, 5.0207)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F3A #2F9E93
analogous
#9E2F71 #9E2F3A #9E5B2F
triadic
#9E2F3A #3A9E2F #2F3A9E
tetradic
#9E2F3A #719E2F #2F9E93 #5B2F9E
square
#9E2F3A #719E2F #2F9E93 #5B2F9E
split-complementary
#9E2F3A #2F9E5B #2F719E
monochromatic
#401317 #6F2129 #9E2F3A #C74350 #D5727C

Accessibility & contrast

On white

7.19
#9E2F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9E2F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2F3A
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F3A#FFFFFF#000000##FFFFFF
##9E2F3A1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D483A
Deuteranopia (green-blind)
#696037
Tritanopia (blue-blind)
#AD1234
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2f3a;
/* rgb */ color: rgb(158, 47, 58);
/* oklch */ color: oklch(47.6% 0.146 19.2);
Tailwind
colors: {
  custom: {
    50: '#c16f70',
    500: '#9e2f3a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f3a;
$custom-light: #c16f70;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f3a",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 58
  },
  "hsl": {
    "h": 354.054,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47605,
    "c": 0.14595,
    "h": 19.2
  },
  "luminance": 0.09608
}

Semantic roles & 50–950 ramp

primary
#9E2F3A
secondary
#6CBDB5
accent
#DECF4A
background
#FCF7F6
surface
#F9EDEC
border
#D2C8C7
text
#140807
muted
#827B7A

Preview Lab

Preview with #9E2F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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