#9E2338#9E2338

#9E2338 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.4% C 0.158 H 16.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#9E2338
RGBrgb(158, 35, 56)
HSLhsl(350, 64%, 38%)
HSVhsv(350, 78%, 62%)
CMYKcmyk(0%, 77.8%, 64.6%, 38%)
CIE-LABlab(35.52, 50.63, 19.07)
CIE-LCHlch(35.52, 54.10, 20.63°)
OKLaboklab(46.39% 0.151 0.0459)
OKLCHoklch(46.39% 0.158 16.9)
XYZxyz(15.4170, 8.7590, 4.6195)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2338 #239E89
analogous
#9E2375 #9E2338 #9E4B23
triadic
#9E2338 #389E23 #23389E
tetradic
#9E2338 #759E23 #239E89 #4B239E
square
#9E2338 #759E23 #239E89 #4B239E
split-complementary
#9E2338 #239E4B #23759E
monochromatic
#3A0D14 #6C1826 #9E2338 #D02E4A #DC6075

Accessibility & contrast

On white

7.63
#9E2338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9E2338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2338
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2338#FFFFFF#000000##FFFFFF
##9E23381.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2338;
/* rgb */ color: rgb(158, 35, 56);
/* oklch */ color: oklch(46.4% 0.158 16.9);
Tailwind
colors: {
  custom: {
    50: '#c26a6e',
    500: '#9e2338',
    950: '#000000',
  },
}
SCSS
$custom: #9e2338;
$custom-light: #c26a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2338",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 56
  },
  "hsl": {
    "h": 349.756,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46391,
    "c": 0.15785,
    "h": 16.9
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#9E2338
secondary
#5CC1AF
accent
#E7CA41
background
#FCF6F6
surface
#F9ECEB
border
#D2C7C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E2338

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

Preview Lab → · Contrast checker → · Palette generator →

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