#9F2876#9F2876

#9F2876 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.0% C 0.173 H 345.2°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9F2876
RGBrgb(159, 40, 118)
HSLhsl(321, 60%, 39%)
HSVhsv(321, 75%, 62%)
CMYKcmyk(0%, 74.8%, 25.8%, 37.6%)
CIE-LABlab(38.20, 55.26, -16.61)
CIE-LCHlch(38.20, 57.70, 343.27°)
OKLaboklab(49.01% 0.1674 -0.0441)
OKLCHoklch(49.01% 0.173 345.2)
XYZxyz(18.3277, 10.1985, 18.1393)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2876 #289F51
analogous
#8D289F #9F2876 #9F283B
triadic
#9F2876 #769F28 #28769F
tetradic
#9F2876 #9F8D28 #289F51 #283B9F
square
#9F2876 #9F8D28 #289F51 #283B9F
split-complementary
#9F2876 #3B9F28 #289F8D
monochromatic
#3D0F2D #6E1C52 #9F2876 #CD3799 #D968B2

Accessibility & contrast

On white

6.91
#9F2876 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2876
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2876#FFFFFF#000000##FFFFFF
##9F28761.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D78
Deuteranopia (green-blind)
#5B6173
Tritanopia (blue-blind)
#AA264C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2876;
/* rgb */ color: rgb(159, 40, 118);
/* oklch */ color: oklch(49.0% 0.173 345.2);
Tailwind
colors: {
  custom: {
    50: '#bf6e9d',
    500: '#9f2876',
    950: '#000000',
  },
}
SCSS
$custom: #9f2876;
$custom-light: #bf6e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2876",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 118
  },
  "hsl": {
    "h": 320.672,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49014,
    "c": 0.1731,
    "h": 345.2
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#9F2876
secondary
#64BF83
accent
#E37B45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2876

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

Preview Lab → · Contrast checker → · Palette generator →

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