#9F278B#9F278B

#9F278B is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.188 H 335.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9F278B
RGBrgb(159, 39, 139)
HSLhsl(310, 61%, 39%)
HSVhsv(310, 75%, 62%)
CMYKcmyk(0%, 75.5%, 12.6%, 37.6%)
CIE-LABlab(39.05, 58.54, -28.28)
CIE-LCHlch(39.05, 65.01, 334.21°)
OKLaboklab(49.95% 0.1715 -0.0772)
OKLCHoklch(49.95% 0.188 335.8)
XYZxyz(19.6841, 10.6878, 25.4474)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F278B #279F3B
analogous
#77279F #9F278B #9F274F
triadic
#9F278B #8B9F27 #278B9F
tetradic
#9F278B #9F7727 #279F3B #274F9F
square
#9F278B #9F7727 #279F3B #274F9F
split-complementary
#9F278B #4F9F27 #279F77
monochromatic
#3D0F35 #6E1B60 #9F278B #CE36B4 #DA67C7

Accessibility & contrast

On white

6.69
#9F278B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9F278B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F278B
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F278B#FFFFFF#000000##FFFFFF
##9F278B1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28518E
Deuteranopia (green-blind)
#536288
Tritanopia (blue-blind)
#A73056
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f278b;
/* rgb */ color: rgb(159, 39, 139);
/* oklch */ color: oklch(49.9% 0.188 335.8);
Tailwind
colors: {
  custom: {
    50: '#bf6ead',
    500: '#9f278b',
    950: '#000000',
  },
}
SCSS
$custom: #9f278b;
$custom-light: #bf6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#9f278b",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 310,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49948,
    "c": 0.18804,
    "h": 335.8
  },
  "luminance": 0.10686
}

Semantic roles & 50–950 ramp

primary
#9F278B
secondary
#62C072
accent
#E45F44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F278B

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

Preview Lab → · Contrast checker → · Palette generator →

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