#9F2E75#9F2E75

#9F2E75 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.165 H 346.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9F2E75
RGBrgb(159, 46, 117)
HSLhsl(322, 55%, 40%)
HSVhsv(322, 71%, 62%)
CMYKcmyk(0%, 71.1%, 26.4%, 37.6%)
CIE-LABlab(38.92, 52.98, -14.88)
CIE-LCHlch(38.92, 55.03, 344.31°)
OKLaboklab(49.53% 0.1605 -0.0394)
OKLCHoklch(49.53% 0.165 346.2)
XYZxyz(18.4867, 10.6112, 17.9008)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E75 #2E9F58
analogous
#902E9F #9F2E75 #9F2E3C
triadic
#9F2E75 #759F2E #2E759F
tetradic
#9F2E75 #9F902E #2E9F58 #2E3C9F
square
#9F2E75 #9F902E #2E9F58 #2E3C9F
split-complementary
#9F2E75 #3C9F2E #2E9F90
monochromatic
#40132F #702052 #9F2E75 #C84296 #D671B1

Accessibility & contrast

On white

6.73
#9F2E75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9F2E75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E75
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E75#FFFFFF#000000##FFFFFF
##9F2E751.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4F77
Deuteranopia (green-blind)
#5D6372
Tritanopia (blue-blind)
#AA2B4D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2e75;
/* rgb */ color: rgb(159, 46, 117);
/* oklch */ color: oklch(49.5% 0.165 346.2);
Tailwind
colors: {
  custom: {
    50: '#bf709c',
    500: '#9f2e75',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e75;
$custom-light: #bf709c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e75",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 322.301,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49526,
    "c": 0.16528,
    "h": 346.2
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#9F2E75
secondary
#6BBE8A
accent
#DE8149
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2E75

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

Preview Lab → · Contrast checker → · Palette generator →

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