#9E2233#9E2233

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

Color values

HEX#9E2233
RGBrgb(158, 34, 51)
HSLhsl(352, 65%, 38%)
HSVhsv(352, 78%, 62%)
CMYKcmyk(0%, 78.5%, 67.7%, 38%)
CIE-LABlab(35.31, 50.66, 21.99)
CIE-LCHlch(35.31, 55.23, 23.47°)
OKLaboklab(46.21% 0.1501 0.052)
OKLCHoklch(46.21% 0.159 19.1)
XYZxyz(15.2718, 8.6545, 3.9977)
Luminance0.0865 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2233 #229E8D
analogous
#9E2271 #9E2233 #9E4F22
triadic
#9E2233 #339E22 #22339E
tetradic
#9E2233 #719E22 #229E8D #4F229E
square
#9E2233 #719E22 #229E8D #4F229E
split-complementary
#9E2233 #229E4F #22719E
monochromatic
#390C12 #6C1723 #9E2233 #D02D43 #DC5E6F

Accessibility & contrast

On white

7.69
#9E2233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#9E2233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2233
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2233#FFFFFF#000000##FFFFFF
##9E22331.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464233
Deuteranopia (green-blind)
#665C2F
Tritanopia (blue-blind)
#AE002A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9e2233;
/* rgb */ color: rgb(158, 34, 51);
/* oklch */ color: oklch(46.2% 0.159 19.1);
Tailwind
colors: {
  custom: {
    50: '#c2696a',
    500: '#9e2233',
    950: '#000000',
  },
}
SCSS
$custom: #9e2233;
$custom-light: #c2696a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2233",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 51
  },
  "hsl": {
    "h": 351.774,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46209,
    "c": 0.1588,
    "h": 19.1
  },
  "luminance": 0.08652
}

Semantic roles & 50–950 ramp

primary
#9E2233
secondary
#5BC1B3
accent
#E8D140
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A

Preview Lab

Preview with #9E2233

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

Preview Lab → · Contrast checker → · Palette generator →

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