#9E2237#9E2237

#9E2237 is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.3% C 0.159 H 17.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9E2237
RGBrgb(158, 34, 55)
HSLhsl(350, 65%, 38%)
HSVhsv(350, 78%, 62%)
CMYKcmyk(0%, 78.5%, 65.2%, 38%)
CIE-LABlab(35.38, 50.89, 19.53)
CIE-LCHlch(35.38, 54.51, 21.00°)
OKLaboklab(46.29% 0.1517 0.0469)
OKLCHoklch(46.29% 0.159 17.2)
XYZxyz(15.3638, 8.6913, 4.4823)
Luminance0.0869 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2237 #229E89
analogous
#9E2275 #9E2237 #9E4B22
triadic
#9E2237 #379E22 #22379E
tetradic
#9E2237 #759E22 #229E89 #4B229E
square
#9E2237 #759E22 #229E89 #4B229E
split-complementary
#9E2237 #229E4B #22759E
monochromatic
#390C14 #6C1725 #9E2237 #D02D49 #DC5E73

Accessibility & contrast

On white

7.67
#9E2237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9E2237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2237
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2237#FFFFFF#000000##FFFFFF
##9E22371.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464337
Deuteranopia (green-blind)
#655D33
Tritanopia (blue-blind)
#AE002B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e2237;
/* rgb */ color: rgb(158, 34, 55);
/* oklch */ color: oklch(46.3% 0.159 17.2);
Tailwind
colors: {
  custom: {
    50: '#c2696d',
    500: '#9e2237',
    950: '#000000',
  },
}
SCSS
$custom: #9e2237;
$custom-light: #c2696d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2237",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 55
  },
  "hsl": {
    "h": 349.839,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46286,
    "c": 0.15874,
    "h": 17.2
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#9E2237
secondary
#5BC1B0
accent
#E8CB40
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E2237

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

Preview Lab → · Contrast checker → · Palette generator →

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