#9E2238#9E2238

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

Color values

HEX#9E2238
RGBrgb(158, 34, 56)
HSLhsl(349, 65%, 38%)
HSVhsv(349, 78%, 62%)
CMYKcmyk(0%, 78.5%, 64.6%, 38%)
CIE-LABlab(35.40, 50.95, 18.92)
CIE-LCHlch(35.40, 54.35, 20.37°)
OKLaboklab(46.31% 0.1521 0.0455)
OKLCHoklch(46.31% 0.159 16.7)
XYZxyz(15.3880, 8.7010, 4.6098)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2238 #229E88
analogous
#9E2276 #9E2238 #9E4A22
triadic
#9E2238 #389E22 #22389E
tetradic
#9E2238 #769E22 #229E88 #4A229E
square
#9E2238 #769E22 #229E88 #4A229E
split-complementary
#9E2238 #229E4A #22769E
monochromatic
#390C14 #6C1726 #9E2238 #D02D4A #DC5E74

Accessibility & contrast

On white

7.66
#9E2238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2238
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2238#FFFFFF#000000##FFFFFF
##9E22381.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464338
Deuteranopia (green-blind)
#655D34
Tritanopia (blue-blind)
#AE002C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e2238;
/* rgb */ color: rgb(158, 34, 56);
/* oklch */ color: oklch(46.3% 0.159 16.7);
Tailwind
colors: {
  custom: {
    50: '#c2696e',
    500: '#9e2238',
    950: '#000000',
  },
}
SCSS
$custom: #9e2238;
$custom-light: #c2696e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2238",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 56
  },
  "hsl": {
    "h": 349.355,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46306,
    "c": 0.15874,
    "h": 16.7
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#9E2238
secondary
#5BC1AF
accent
#E8CA40
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E2238

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

Preview Lab → · Contrast checker → · Palette generator →

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