#9F2878#9F2878

#9F2878 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.174 H 344.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9F2878
RGBrgb(159, 40, 120)
HSLhsl(320, 60%, 39%)
HSVhsv(320, 75%, 62%)
CMYKcmyk(0%, 74.8%, 24.5%, 37.6%)
CIE-LABlab(38.28, 55.52, -17.72)
CIE-LCHlch(38.28, 58.28, 342.30°)
OKLaboklab(49.1% 0.1678 -0.0473)
OKLCHoklch(49.1% 0.174 344.3)
XYZxyz(18.4478, 10.2465, 18.7719)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2878 #289F4F
analogous
#8B289F #9F2878 #9F283D
triadic
#9F2878 #789F28 #28789F
tetradic
#9F2878 #9F8B28 #289F4F #283D9F
square
#9F2878 #9F8B28 #289F4F #283D9F
split-complementary
#9F2878 #3D9F28 #289F8B
monochromatic
#3D0F2E #6E1C53 #9F2878 #CD379C #D968B4

Accessibility & contrast

On white

6.89
#9F2878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F2878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2878
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2878#FFFFFF#000000##FFFFFF
##9F28781.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D7A
Deuteranopia (green-blind)
#5A6175
Tritanopia (blue-blind)
#AA274D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2878;
/* rgb */ color: rgb(159, 40, 120);
/* oklch */ color: oklch(49.1% 0.174 344.3);
Tailwind
colors: {
  custom: {
    50: '#bf6e9f',
    500: '#9f2878',
    950: '#000000',
  },
}
SCSS
$custom: #9f2878;
$custom-light: #bf6e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2878",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 120
  },
  "hsl": {
    "h": 319.664,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49103,
    "c": 0.1743,
    "h": 344.3
  },
  "luminance": 0.10245
}

Semantic roles & 50–950 ramp

primary
#9F2878
secondary
#64BF82
accent
#E37945
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2878

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

Preview Lab → · Contrast checker → · Palette generator →

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