#9E2839#9E2839

#9E2839 is a mid, vivid red. Relative luminance 0.091; OKLCH L 46.9% C 0.153 H 17.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#9E2839
RGBrgb(158, 40, 57)
HSLhsl(351, 60%, 39%)
HSVhsv(351, 75%, 62%)
CMYKcmyk(0%, 74.7%, 63.9%, 38%)
CIE-LABlab(36.15, 48.99, 19.24)
CIE-LCHlch(36.15, 52.63, 21.45°)
OKLaboklab(46.86% 0.146 0.0464)
OKLCHoklch(46.86% 0.153 17.6)
XYZxyz(15.5995, 9.0844, 4.8022)
Luminance0.0908 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2839 #289E8D
analogous
#9E2874 #9E2839 #9E5228
triadic
#9E2839 #399E28 #28399E
tetradic
#9E2839 #749E28 #289E8D #52289E
square
#9E2839 #749E28 #289E8D #52289E
split-complementary
#9E2839 #289E52 #28749E
monochromatic
#3C0F16 #6D1C27 #9E2839 #CC374C #D96878

Accessibility & contrast

On white

7.46
#9E2839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9E2839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2839
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2839#FFFFFF#000000##FFFFFF
##9E28391.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494539
Deuteranopia (green-blind)
#675E36
Tritanopia (blue-blind)
#AD002F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9e2839;
/* rgb */ color: rgb(158, 40, 57);
/* oklch */ color: oklch(46.9% 0.153 17.6);
Tailwind
colors: {
  custom: {
    50: '#c26c6f',
    500: '#9e2839',
    950: '#000000',
  },
}
SCSS
$custom: #9e2839;
$custom-light: #c26c6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2839",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 57
  },
  "hsl": {
    "h": 351.356,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46864,
    "c": 0.15316,
    "h": 17.6
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#9E2839
secondary
#63BFB2
accent
#E3CC45
background
#FCF6F6
surface
#F9ECEC
border
#D2C7C7
text
#140707
muted
#827A7A

Preview Lab

Preview with #9E2839

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

Preview Lab → · Contrast checker → · Palette generator →

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