#9E2240#9E2240

#9E2240 is a mid, vivid red. Relative luminance 0.088; OKLCH L 46.5% C 0.159 H 12.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#9E2240
RGBrgb(158, 34, 64)
HSLhsl(345, 65%, 38%)
HSVhsv(345, 78%, 62%)
CMYKcmyk(0%, 78.5%, 59.5%, 38%)
CIE-LABlab(35.57, 51.48, 13.99)
CIE-LCHlch(35.57, 53.34, 15.20°)
OKLaboklab(46.48% 0.1553 0.0347)
OKLCHoklch(46.48% 0.159 12.6)
XYZxyz(15.5996, 8.7856, 5.7239)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2240 #229E80
analogous
#9E227E #9E2240 #9E4222
triadic
#9E2240 #409E22 #22409E
tetradic
#9E2240 #7E9E22 #229E80 #42229E
square
#9E2240 #7E9E22 #229E80 #42229E
split-complementary
#9E2240 #229E42 #227E9E
monochromatic
#390C17 #6C172C #9E2240 #D02D54 #DC5E7D

Accessibility & contrast

On white

7.62
#9E2240 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#9E2240 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2240
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2240#FFFFFF#000000##FFFFFF
##9E22401.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444340
Deuteranopia (green-blind)
#645D3D
Tritanopia (blue-blind)
#AD002F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e2240;
/* rgb */ color: rgb(158, 34, 64);
/* oklch */ color: oklch(46.5% 0.159 12.6);
Tailwind
colors: {
  custom: {
    50: '#c16974',
    500: '#9e2240',
    950: '#000000',
  },
}
SCSS
$custom: #9e2240;
$custom-light: #c16974;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2240",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 64
  },
  "hsl": {
    "h": 345.484,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46483,
    "c": 0.15913,
    "h": 12.6
  },
  "luminance": 0.08783
}

Semantic roles & 50–950 ramp

primary
#9E2240
secondary
#5BC1A8
accent
#E8BF40
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E2240

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

Preview Lab → · Contrast checker → · Palette generator →

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