#9F2E5C#9F2E5C

#9F2E5C is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.6% C 0.153 H 359.8°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#9F2E5C
RGBrgb(159, 46, 92)
HSLhsl(336, 55%, 40%)
HSVhsv(336, 71%, 62%)
CMYKcmyk(0%, 71.1%, 42.1%, 37.6%)
CIE-LABlab(38.02, 50.01, -0.48)
CIE-LCHlch(38.02, 50.01, 359.45°)
OKLaboklab(48.57% 0.1533 -0.0006)
OKLCHoklch(48.57% 0.153 359.8)
XYZxyz(17.2081, 10.0998, 11.1664)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E5C #2E9F71
analogous
#9F2E95 #9F2E5C #9F382E
triadic
#9F2E5C #5C9F2E #2E5C9F
tetradic
#9F2E5C #959F2E #2E9F71 #382E9F
square
#9F2E5C #959F2E #2E9F71 #382E9F
split-complementary
#9F2E5C #2E9F38 #2E959F
monochromatic
#401325 #702041 #9F2E5C #C84279 #D6719A

Accessibility & contrast

On white

6.95
#9F2E5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#9F2E5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E5C
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E5C#FFFFFF#000000##FFFFFF
##9F2E5C1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2e5c;
/* rgb */ color: rgb(159, 46, 92);
/* oklch */ color: oklch(48.6% 0.153 359.8);
Tailwind
colors: {
  custom: {
    50: '#c0708a',
    500: '#9f2e5c',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e5c;
$custom-light: #c0708a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e5c",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 335.575,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48574,
    "c": 0.15326,
    "h": 359.8
  },
  "luminance": 0.10098
}

Semantic roles & 50–950 ramp

primary
#9F2E5C
secondary
#6BBE9C
accent
#DEA249
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F2E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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