#9F2877#9F2877

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

Color values

HEX#9F2877
RGBrgb(159, 40, 119)
HSLhsl(320, 60%, 39%)
HSVhsv(320, 75%, 62%)
CMYKcmyk(0%, 74.8%, 25.2%, 37.6%)
CIE-LABlab(38.24, 55.39, -17.17)
CIE-LCHlch(38.24, 57.99, 342.78°)
OKLaboklab(49.06% 0.1676 -0.0457)
OKLCHoklch(49.06% 0.174 344.7)
XYZxyz(18.3874, 10.2224, 18.4540)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2877 #289F50
analogous
#8C289F #9F2877 #9F283C
triadic
#9F2877 #779F28 #28779F
tetradic
#9F2877 #9F8C28 #289F50 #283C9F
square
#9F2877 #9F8C28 #289F50 #283C9F
split-complementary
#9F2877 #3C9F28 #289F8C
monochromatic
#3D0F2E #6E1C52 #9F2877 #CD379B #D968B3

Accessibility & contrast

On white

6.90
#9F2877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F2877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2877
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2877#FFFFFF#000000##FFFFFF
##9F28771.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364D79
Deuteranopia (green-blind)
#5B6174
Tritanopia (blue-blind)
#AA264C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2877;
/* rgb */ color: rgb(159, 40, 119);
/* oklch */ color: oklch(49.1% 0.174 344.7);
Tailwind
colors: {
  custom: {
    50: '#bf6e9e',
    500: '#9f2877',
    950: '#000000',
  },
}
SCSS
$custom: #9f2877;
$custom-light: #bf6e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2877",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 320.168,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49058,
    "c": 0.1737,
    "h": 344.7
  },
  "luminance": 0.1022
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F2877

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

Preview Lab → · Contrast checker → · Palette generator →

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