#9F2E6C#9F2E6C

#9F2E6C is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.2% C 0.160 H 350.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9F2E6C
RGBrgb(159, 46, 108)
HSLhsl(327, 55%, 40%)
HSVhsv(327, 71%, 62%)
CMYKcmyk(0%, 71.1%, 32.1%, 37.6%)
CIE-LABlab(38.57, 51.83, -9.77)
CIE-LCHlch(38.57, 52.75, 349.32°)
OKLaboklab(49.16% 0.1583 -0.0254)
OKLCHoklch(49.16% 0.16 350.9)
XYZxyz(17.9828, 10.4097, 15.2467)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E6C #2E9F61
analogous
#9A2E9F #9F2E6C #9F2E33
triadic
#9F2E6C #6C9F2E #2E6C9F
tetradic
#9F2E6C #9F9A2E #2E9F61 #2E339F
square
#9F2E6C #9F9A2E #2E9F61 #2E339F
split-complementary
#9F2E6C #339F2E #2E9F9A
monochromatic
#40132C #70204C #9F2E6C #C8428C #D671A9

Accessibility & contrast

On white

6.81
#9F2E6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9F2E6C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E6C
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E6C#FFFFFF#000000##FFFFFF
##9F2E6C1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404E6E
Deuteranopia (green-blind)
#606269
Tritanopia (blue-blind)
#AB2749
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2e6c;
/* rgb */ color: rgb(159, 46, 108);
/* oklch */ color: oklch(49.2% 0.160 350.9);
Tailwind
colors: {
  custom: {
    50: '#bf7096',
    500: '#9f2e6c',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e6c;
$custom-light: #bf7096;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e6c",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 327.08,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49155,
    "c": 0.16027,
    "h": 350.9
  },
  "luminance": 0.10408
}

Semantic roles & 50–950 ramp

primary
#9F2E6C
secondary
#6BBE90
accent
#DE8D49
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9F2E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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