#9E1F53#9E1F53

#9E1F53 is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.166 H 1.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9E1F53
RGBrgb(158, 31, 83)
HSLhsl(335, 67%, 37%)
HSVhsv(335, 80%, 62%)
CMYKcmyk(0%, 80.4%, 47.5%, 38%)
CIE-LABlab(35.74, 53.92, 1.95)
CIE-LCHlch(35.74, 53.96, 2.07°)
OKLaboklab(46.77% 0.1655 0.0056)
OKLCHoklch(46.77% 0.166 1.9)
XYZxyz(16.1532, 8.8758, 9.0445)
Luminance0.0887 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1F53 #1F9E6A
analogous
#9E1F93 #9E1F53 #9E2A1F
triadic
#9E1F53 #539E1F #1F539E
tetradic
#9E1F53 #939E1F #1F9E6A #2A1F9E
square
#9E1F53 #939E1F #1F9E6A #2A1F9E
split-complementary
#9E1F53 #1F9E2A #1F939E
monochromatic
#380B1D #6B1538 #9E1F53 #D1296E #DE5990

Accessibility & contrast

On white

7.57
#9E1F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9E1F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1F53
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1F53#FFFFFF#000000##FFFFFF
##9E1F531.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4454
Deuteranopia (green-blind)
#605D50
Tritanopia (blue-blind)
#AC0036
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9e1f53;
/* rgb */ color: rgb(158, 31, 83);
/* oklch */ color: oklch(46.8% 0.166 1.9);
Tailwind
colors: {
  custom: {
    50: '#c06983',
    500: '#9e1f53',
    950: '#000000',
  },
}
SCSS
$custom: #9e1f53;
$custom-light: #c06983;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1f53",
  "rgb": {
    "r": 158,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 335.433,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46774,
    "c": 0.16562,
    "h": 1.9
  },
  "luminance": 0.08874
}

Semantic roles & 50–950 ramp

primary
#9E1F53
secondary
#56C296
accent
#EAA43E
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9E1F53

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

Preview Lab → · Contrast checker → · Palette generator →

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