#9E2540#9E2540

#9E2540 is a mid, vivid red. Relative luminance 0.090; OKLCH L 46.7% C 0.156 H 13.2°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9E2540
RGBrgb(158, 37, 64)
HSLhsl(347, 62%, 38%)
HSVhsv(347, 77%, 62%)
CMYKcmyk(0%, 76.6%, 59.5%, 38%)
CIE-LABlab(35.92, 50.50, 14.46)
CIE-LCHlch(35.92, 52.53, 15.98°)
OKLaboklab(46.74% 0.1522 0.0358)
OKLCHoklch(46.74% 0.156 13.2)
XYZxyz(15.6891, 8.9647, 5.7537)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2540 #259E83
analogous
#9E257C #9E2540 #9E4725
triadic
#9E2540 #409E25 #25409E
tetradic
#9E2540 #7C9E25 #259E83 #47259E
square
#9E2540 #7C9E25 #259E83 #47259E
split-complementary
#9E2540 #259E47 #257C9E
monochromatic
#3B0E18 #6C192C #9E2540 #CF3154 #DA637E

Accessibility & contrast

On white

7.52
#9E2540 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9E2540 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2540
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2540#FFFFFF#000000##FFFFFF
##9E25401.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464540
Deuteranopia (green-blind)
#655D3D
Tritanopia (blue-blind)
#AD0030
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e2540;
/* rgb */ color: rgb(158, 37, 64);
/* oklch */ color: oklch(46.7% 0.156 13.2);
Tailwind
colors: {
  custom: {
    50: '#c16b74',
    500: '#9e2540',
    950: '#000000',
  },
}
SCSS
$custom: #9e2540;
$custom-light: #c16b74;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2540",
  "rgb": {
    "r": 158,
    "g": 37,
    "b": 64
  },
  "hsl": {
    "h": 346.612,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4674,
    "c": 0.15632,
    "h": 13.2
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#9E2540
secondary
#5FC0AA
accent
#E5C143
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E2540

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

Preview Lab → · Contrast checker → · Palette generator →

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