#9F2E7E#9F2E7E

#9F2E7E is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.9% C 0.171 H 341.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9F2E7E
RGBrgb(159, 46, 126)
HSLhsl(318, 55%, 40%)
HSVhsv(318, 71%, 62%)
CMYKcmyk(0%, 71.1%, 20.8%, 37.6%)
CIE-LABlab(39.30, 54.21, -19.89)
CIE-LCHlch(39.30, 57.75, 339.86°)
OKLaboklab(49.93% 0.1624 -0.0534)
OKLCHoklch(49.93% 0.171 341.8)
XYZxyz(19.0416, 10.8332, 20.8228)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E7E #2E9F4F
analogous
#872E9F #9F2E7E #9F2E46
triadic
#9F2E7E #7E9F2E #2E7E9F
tetradic
#9F2E7E #9F872E #2E9F4F #2E469F
square
#9F2E7E #9F872E #2E9F4F #2E469F
split-complementary
#9F2E7E #469F2E #2E9F87
monochromatic
#401333 #702058 #9F2E7E #C842A1 #D671B9

Accessibility & contrast

On white

6.63
#9F2E7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9F2E7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E7E
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E7E#FFFFFF#000000##FFFFFF
##9F2E7E1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375180
Deuteranopia (green-blind)
#5A637B
Tritanopia (blue-blind)
#A93052
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2e7e;
/* rgb */ color: rgb(159, 46, 126);
/* oklch */ color: oklch(49.9% 0.171 341.8);
Tailwind
colors: {
  custom: {
    50: '#bf71a3',
    500: '#9f2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e7e;
$custom-light: #bf71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e7e",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 317.522,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49928,
    "c": 0.17093,
    "h": 341.8
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#9F2E7E
secondary
#6BBE83
accent
#DE7549
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #9F2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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