#9E2840#9E2840

#9E2840 is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.0% C 0.153 H 14.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9E2840
RGBrgb(158, 40, 64)
HSLhsl(348, 60%, 39%)
HSVhsv(348, 75%, 62%)
CMYKcmyk(0%, 74.7%, 59.5%, 38%)
CIE-LABlab(36.29, 49.46, 14.96)
CIE-LCHlch(36.29, 51.67, 16.83°)
OKLaboklab(47.02% 0.1488 0.037)
OKLCHoklch(47.02% 0.153 14)
XYZxyz(15.7863, 9.1591, 5.7861)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2840 #289E86
analogous
#9E287B #9E2840 #9E4B28
triadic
#9E2840 #409E28 #28409E
tetradic
#9E2840 #7B9E28 #289E86 #4B289E
square
#9E2840 #7B9E28 #289E86 #4B289E
split-complementary
#9E2840 #289E4B #287B9E
monochromatic
#3C0F18 #6D1C2C #9E2840 #CC3755 #D9687F

Accessibility & contrast

On white

7.42
#9E2840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9E2840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2840
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2840#FFFFFF#000000##FFFFFF
##9E28401.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474640
Deuteranopia (green-blind)
#665E3D
Tritanopia (blue-blind)
#AD0232
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2840;
/* rgb */ color: rgb(158, 40, 64);
/* oklch */ color: oklch(47.0% 0.153 14.0);
Tailwind
colors: {
  custom: {
    50: '#c16c74',
    500: '#9e2840',
    950: '#000000',
  },
}
SCSS
$custom: #9e2840;
$custom-light: #c16c74;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2840",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 347.797,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47016,
    "c": 0.15334,
    "h": 14
  },
  "luminance": 0.09157
}

Semantic roles & 50–950 ramp

primary
#9E2840
secondary
#63BFAC
accent
#E3C345
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E2840

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

Preview Lab → · Contrast checker → · Palette generator →

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