#9F2875#9F2875

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

Color values

HEX#9F2875
RGBrgb(159, 40, 117)
HSLhsl(321, 60%, 39%)
HSVhsv(321, 75%, 62%)
CMYKcmyk(0%, 74.8%, 26.4%, 37.6%)
CIE-LABlab(38.15, 55.13, -16.05)
CIE-LCHlch(38.15, 57.42, 343.77°)
OKLaboklab(48.97% 0.1672 -0.0426)
OKLCHoklch(48.97% 0.173 345.7)
XYZxyz(18.2685, 10.1748, 17.8280)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2875 #289F52
analogous
#8E289F #9F2875 #9F283A
triadic
#9F2875 #759F28 #28759F
tetradic
#9F2875 #9F8E28 #289F52 #283A9F
square
#9F2875 #9F8E28 #289F52 #283A9F
split-complementary
#9F2875 #3A9F28 #289F8E
monochromatic
#3D0F2D #6E1C51 #9F2875 #CD3798 #D968B1

Accessibility & contrast

On white

6.92
#9F2875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F2875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2875
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2875#FFFFFF#000000##FFFFFF
##9F28751.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374D77
Deuteranopia (green-blind)
#5B6172
Tritanopia (blue-blind)
#AA254B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2875;
/* rgb */ color: rgb(159, 40, 117);
/* oklch */ color: oklch(49.0% 0.172 345.7);
Tailwind
colors: {
  custom: {
    50: '#bf6e9d',
    500: '#9f2875',
    950: '#000000',
  },
}
SCSS
$custom: #9f2875;
$custom-light: #bf6e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2875",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 321.176,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4897,
    "c": 0.1725,
    "h": 345.7
  },
  "luminance": 0.10173
}

Semantic roles & 50–950 ramp

primary
#9F2875
secondary
#64BF84
accent
#E37D45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #9F2875

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

Preview Lab → · Contrast checker → · Palette generator →

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