#9E2F5C#9E2F5C

#9E2F5C is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.5% C 0.151 H 359.7°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9E2F5C
RGBrgb(158, 47, 92)
HSLhsl(336, 54%, 40%)
HSVhsv(336, 70%, 62%)
CMYKcmyk(0%, 70.3%, 41.8%, 38%)
CIE-LABlab(37.98, 49.32, -0.56)
CIE-LCHlch(37.98, 49.32, 359.35°)
OKLaboklab(48.51% 0.1511 -0.0009)
OKLCHoklch(48.51% 0.151 359.7)
XYZxyz(17.0500, 10.0769, 11.1703)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F5C #2F9E71
analogous
#9E2F93 #9E2F5C #9E3A2F
triadic
#9E2F5C #5C9E2F #2F5C9E
tetradic
#9E2F5C #939E2F #2F9E71 #3A2F9E
square
#9E2F5C #939E2F #2F9E71 #3A2F9E
split-complementary
#9E2F5C #2F9E3A #2F939E
monochromatic
#401325 #6F2141 #9E2F5C #C74379 #D5729A

Accessibility & contrast

On white

6.97
#9E2F5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E2F5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2F5C
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F5C#FFFFFF#000000##FFFFFF
##9E2F5C1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5D
Deuteranopia (green-blind)
#636159
Tritanopia (blue-blind)
#AB2142
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2f5c;
/* rgb */ color: rgb(158, 47, 92);
/* oklch */ color: oklch(48.5% 0.151 359.7);
Tailwind
colors: {
  custom: {
    50: '#bf708a',
    500: '#9e2f5c',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f5c;
$custom-light: #bf708a;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f5c",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 92
  },
  "hsl": {
    "h": 335.676,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4851,
    "c": 0.15109,
    "h": 359.7
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#9E2F5C
secondary
#6CBD9C
accent
#DEA24A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E2F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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