#9E1A45#9E1A45

#9E1A45 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.0% C 0.167 H 8.6°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#9E1A45
RGBrgb(158, 26, 69)
HSLhsl(340, 72%, 36%)
HSVhsv(340, 84%, 62%)
CMYKcmyk(0%, 83.5%, 56.3%, 38%)
CIE-LABlab(34.88, 54.12, 9.81)
CIE-LCHlch(34.88, 55.00, 10.27°)
OKLaboklab(46.02% 0.1647 0.0249)
OKLCHoklch(46.02% 0.167 8.6)
XYZxyz(15.5457, 8.4399, 6.4396)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A45 #1A9E73
analogous
#9E1A87 #9E1A45 #9E311A
triadic
#9E1A45 #459E1A #1A459E
tetradic
#9E1A45 #879E1A #1A9E73 #311A9E
square
#9E1A45 #879E1A #1A9E73 #311A9E
split-complementary
#9E1A45 #1A9E31 #1A879E
monochromatic
#350917 #69112E #9E1A45 #D3235C #E25080

Accessibility & contrast

On white

7.81
#9E1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#9E1A45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1A45
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A45#FFFFFF#000000##FFFFFF
##9E1A451.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404146
Deuteranopia (green-blind)
#625B42
Tritanopia (blue-blind)
#AD002E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #9e1a45;
/* rgb */ color: rgb(158, 26, 69);
/* oklch */ color: oklch(46.0% 0.167 8.6);
Tailwind
colors: {
  custom: {
    50: '#c16778',
    500: '#9e1a45',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a45;
$custom-light: #c16778;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a45",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 340.455,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.46016,
    "c": 0.16654,
    "h": 8.6
  },
  "luminance": 0.08438
}

Semantic roles & 50–950 ramp

primary
#9E1A45
secondary
#4FC59E
accent
#EEB339
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B

Preview Lab

Preview with #9E1A45

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

Preview Lab → · Contrast checker → · Palette generator →

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