#9E2C5A#9E2C5A

#9E2C5A is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.1% C 0.154 H 0.2°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9E2C5A
RGBrgb(158, 44, 90)
HSLhsl(336, 56%, 40%)
HSVhsv(336, 72%, 62%)
CMYKcmyk(0%, 72.2%, 43%, 38%)
CIE-LABlab(37.50, 50.26, 0.01)
CIE-LCHlch(37.50, 50.26, 0.02°)
OKLaboklab(48.14% 0.1541 0.0006)
OKLCHoklch(48.14% 0.154 0.2)
XYZxyz(16.8479, 9.8108, 10.6773)
Luminance0.0981 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2C5A #2C9E70
analogous
#9E2C93 #9E2C5A #9E372C
triadic
#9E2C5A #5A9E2C #2C5A9E
tetradic
#9E2C5A #939E2C #2C9E70 #372C9E
square
#9E2C5A #939E2C #2C9E70 #372C9E
split-complementary
#9E2C5A #2C9E37 #2C939E
monochromatic
#3E1123 #6E1F3F #9E2C5A #C93E76 #D76E98

Accessibility & contrast

On white

7.09
#9E2C5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9E2C5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2C5A
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2C5A#FFFFFF#000000##FFFFFF
##9E2C5A1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A5B
Deuteranopia (green-blind)
#636057
Tritanopia (blue-blind)
#AB1C3F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e2c5a;
/* rgb */ color: rgb(158, 44, 90);
/* oklch */ color: oklch(48.1% 0.154 0.2);
Tailwind
colors: {
  custom: {
    50: '#bf6e88',
    500: '#9e2c5a',
    950: '#000000',
  },
}
SCSS
$custom: #9e2c5a;
$custom-light: #bf6e88;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2c5a",
  "rgb": {
    "r": 158,
    "g": 44,
    "b": 90
  },
  "hsl": {
    "h": 335.789,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48136,
    "c": 0.15408,
    "h": 0.2
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#9E2C5A
secondary
#68BE9B
accent
#E0A348
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E2C5A

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

Preview Lab → · Contrast checker → · Palette generator →

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