#9E2138#9E2138

#9E2138 is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.2% C 0.160 H 16.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9E2138
RGBrgb(158, 33, 56)
HSLhsl(349, 65%, 37%)
HSVhsv(349, 79%, 62%)
CMYKcmyk(0%, 79.1%, 64.6%, 38%)
CIE-LABlab(35.29, 51.26, 18.77)
CIE-LCHlch(35.29, 54.59, 20.11°)
OKLaboklab(46.22% 0.1531 0.0452)
OKLCHoklch(46.22% 0.16 16.5)
XYZxyz(15.3599, 8.6447, 4.6004)
Luminance0.0864 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2138 #219E87
analogous
#9E2177 #9E2138 #9E4921
triadic
#9E2138 #389E21 #21389E
tetradic
#9E2138 #779E21 #219E87 #49219E
square
#9E2138 #779E21 #219E87 #49219E
split-complementary
#9E2138 #219E49 #21779E
monochromatic
#390C14 #6B1626 #9E2138 #D12C4A #DD5C74

Accessibility & contrast

On white

7.70
#9E2138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E2138
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2138#FFFFFF#000000##FFFFFF
##9E21381.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e2138;
/* rgb */ color: rgb(158, 33, 56);
/* oklch */ color: oklch(46.2% 0.160 16.5);
Tailwind
colors: {
  custom: {
    50: '#c2696e',
    500: '#9e2138',
    950: '#000000',
  },
}
SCSS
$custom: #9e2138;
$custom-light: #c2696e;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2138",
  "rgb": {
    "r": 158,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 348.96,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46224,
    "c": 0.15962,
    "h": 16.5
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#9E2138
secondary
#59C1AE
accent
#E8C93F
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E2138

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

Preview Lab → · Contrast checker → · Palette generator →

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