#9F278A#9F278A

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

Color values

HEX#9F278A
RGBrgb(159, 39, 138)
HSLhsl(311, 61%, 39%)
HSVhsv(311, 75%, 62%)
CMYKcmyk(0%, 75.5%, 13.2%, 37.6%)
CIE-LABlab(39.00, 58.39, -27.75)
CIE-LCHlch(39.00, 64.65, 334.58°)
OKLaboklab(49.9% 0.1714 -0.0756)
OKLCHoklch(49.9% 0.187 336.2)
XYZxyz(19.6114, 10.6587, 25.0643)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F278A #279F3C
analogous
#78279F #9F278A #9F274E
triadic
#9F278A #8A9F27 #278A9F
tetradic
#9F278A #9F7827 #279F3C #274E9F
square
#9F278A #9F7827 #279F3C #274E9F
split-complementary
#9F278A #4E9F27 #279F78
monochromatic
#3D0F35 #6E1B5F #9F278A #CE36B3 #DA67C6

Accessibility & contrast

On white

6.71
#9F278A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9F278A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F278A
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F278A#FFFFFF#000000##FFFFFF
##9F278A1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508D
Deuteranopia (green-blind)
#536287
Tritanopia (blue-blind)
#A73056
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f278a;
/* rgb */ color: rgb(159, 39, 138);
/* oklch */ color: oklch(49.9% 0.187 336.2);
Tailwind
colors: {
  custom: {
    50: '#bf6eac',
    500: '#9f278a',
    950: '#000000',
  },
}
SCSS
$custom: #9f278a;
$custom-light: #bf6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#9f278a",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 138
  },
  "hsl": {
    "h": 310.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49895,
    "c": 0.18733,
    "h": 336.2
  },
  "luminance": 0.10657
}

Semantic roles & 50–950 ramp

primary
#9F278A
secondary
#62C073
accent
#E46044
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F278A

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

Preview Lab → · Contrast checker → · Palette generator →

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