#9E2F56#9E2F56

#9E2F56 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.3% C 0.149 H 3.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9E2F56
RGBrgb(158, 47, 86)
HSLhsl(339, 54%, 40%)
HSVhsv(339, 70%, 62%)
CMYKcmyk(0%, 70.3%, 45.6%, 38%)
CIE-LABlab(37.80, 48.70, 3.00)
CIE-LCHlch(37.80, 48.79, 3.52°)
OKLaboklab(48.32% 0.149 0.0083)
OKLCHoklch(48.32% 0.149 3.2)
XYZxyz(16.7981, 9.9761, 9.8433)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2F56 #2F9E77
analogous
#9E2F8D #9E2F56 #9E402F
triadic
#9E2F56 #569E2F #2F569E
tetradic
#9E2F56 #8D9E2F #2F9E77 #402F9E
square
#9E2F56 #8D9E2F #2F9E77 #402F9E
split-complementary
#9E2F56 #2F9E40 #2F8D9E
monochromatic
#401323 #6F213C #9E2F56 #C74371 #D57295

Accessibility & contrast

On white

7.01
#9E2F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E2F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E2F56
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2F56#FFFFFF#000000##FFFFFF
##9E2F561.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474B57
Deuteranopia (green-blind)
#656153
Tritanopia (blue-blind)
#AC1F3F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e2f56;
/* rgb */ color: rgb(158, 47, 86);
/* oklch */ color: oklch(48.3% 0.149 3.2);
Tailwind
colors: {
  custom: {
    50: '#bf7085',
    500: '#9e2f56',
    950: '#000000',
  },
}
SCSS
$custom: #9e2f56;
$custom-light: #bf7085;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2f56",
  "rgb": {
    "r": 158,
    "g": 47,
    "b": 86
  },
  "hsl": {
    "h": 338.919,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48317,
    "c": 0.14918,
    "h": 3.2
  },
  "luminance": 0.09974
}

Semantic roles & 50–950 ramp

primary
#9E2F56
secondary
#6CBDA0
accent
#DEAA4A
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9E2F56

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

Preview Lab → · Contrast checker → · Palette generator →

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