#9E2F38#9E2F38

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

Color values

HEX#9E2F38
RGBrgb(158, 47, 56)
HSLhsl(355, 54%, 40%)
HSVhsv(355, 70%, 62%)
CMYKcmyk(0%, 70.3%, 64.6%, 38%)
CIE-LABlab(37.10, 46.25, 21.10)
CIE-LCHlch(37.10, 50.83, 24.52°)
OKLaboklab(47.57% 0.137 0.0505)
OKLCHoklch(47.57% 0.146 20.2)
XYZxyz(15.8325, 9.5899, 4.7580)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F38 #2F9E95
analogous
#9E2F6F #9E2F38 #9E5D2F
triadic
#9E2F38 #389E2F #2F389E
tetradic
#9E2F38 #6F9E2F #2F9E95 #5D2F9E
square
#9E2F38 #6F9E2F #2F9E95 #5D2F9E
split-complementary
#9E2F38 #2F9E5D #2F6F9E
monochromatic
#401317 #6F2127 #9E2F38 #C7434E #D5727A

Accessibility & contrast

On white

7.20
#9E2F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2F38
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F38#FFFFFF#000000##FFFFFF
##9E2F381.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4838
Deuteranopia (green-blind)
#696035
Tritanopia (blue-blind)
#AD1133
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e2f38;
/* rgb */ color: rgb(158, 47, 56);
/* oklch */ color: oklch(47.6% 0.146 20.2);
Tailwind
colors: {
  custom: {
    50: '#c16f6e',
    500: '#9e2f38',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f38;
$custom-light: #c16f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f38",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 56
  },
  "hsl": {
    "h": 355.135,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47566,
    "c": 0.14605,
    "h": 20.2
  },
  "luminance": 0.09588
}

Semantic roles & 50–950 ramp

primary
#9E2F38
secondary
#6CBDB6
accent
#DED24A
background
#FCF7F6
surface
#F9EDEB
border
#D2C8C6
text
#140807
muted
#827B7A

Preview Lab

Preview with #9E2F38

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

Preview Lab → · Contrast checker → · Palette generator →

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