#9E2845#9E2845

#9E2845 is a mid, vivid red. Relative luminance 0.092; OKLCH L 47.1% C 0.154 H 11.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9E2845
RGBrgb(158, 40, 69)
HSLhsl(345, 60%, 39%)
HSVhsv(345, 75%, 62%)
CMYKcmyk(0%, 74.7%, 56.3%, 38%)
CIE-LABlab(36.40, 49.83, 11.91)
CIE-LCHlch(36.40, 51.24, 13.44°)
OKLaboklab(47.14% 0.1508 0.03)
OKLCHoklch(47.14% 0.154 11.2)
XYZxyz(15.9350, 9.2186, 6.5693)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2845 #289E81
analogous
#9E2880 #9E2845 #9E4628
triadic
#9E2845 #459E28 #28459E
tetradic
#9E2845 #809E28 #289E81 #46289E
square
#9E2845 #809E28 #289E81 #46289E
split-complementary
#9E2845 #289E46 #28809E
monochromatic
#3C0F1A #6D1C30 #9E2845 #CC375C #D96883

Accessibility & contrast

On white

7.39
#9E2845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9E2845 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2845
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2845#FFFFFF#000000##FFFFFF
##9E28451.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474645
Deuteranopia (green-blind)
#655E42
Tritanopia (blue-blind)
#AD0634
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9e2845;
/* rgb */ color: rgb(158, 40, 69);
/* oklch */ color: oklch(47.1% 0.154 11.2);
Tailwind
colors: {
  custom: {
    50: '#c16c78',
    500: '#9e2845',
    950: '#000000',
  },
}
SCSS
$custom: #9e2845;
$custom-light: #c16c78;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2845",
  "rgb": {
    "r": 158,
    "g": 40,
    "b": 69
  },
  "hsl": {
    "h": 345.254,
    "s": 59.596,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47137,
    "c": 0.15378,
    "h": 11.2
  },
  "luminance": 0.09216
}

Semantic roles & 50–950 ramp

primary
#9E2845
secondary
#63BFA8
accent
#E3BC45
background
#FCF6F7
surface
#F8ECED
border
#D1C7C8
text
#130708
muted
#827A7B

Preview Lab

Preview with #9E2845

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

Preview Lab → · Contrast checker → · Palette generator →

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