#9F2579#9F2579

#9F2579 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.9% C 0.178 H 343.6°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9F2579
RGBrgb(159, 37, 121)
HSLhsl(319, 62%, 38%)
HSVhsv(319, 77%, 62%)
CMYKcmyk(0%, 76.7%, 23.9%, 37.6%)
CIE-LABlab(37.98, 56.63, -18.81)
CIE-LCHlch(37.98, 59.68, 341.62°)
OKLaboklab(48.9% 0.171 -0.0503)
OKLCHoklch(48.9% 0.178 343.6)
XYZxyz(18.4115, 10.0765, 19.0608)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2579 #259F4B
analogous
#88259F #9F2579 #9F253C
triadic
#9F2579 #799F25 #25799F
tetradic
#9F2579 #9F8825 #259F4B #253C9F
square
#9F2579 #9F8825 #259F4B #253C9F
split-complementary
#9F2579 #3C9F25 #259F88
monochromatic
#3C0E2D #6D1953 #9F2579 #CF329E #DB64B6

Accessibility & contrast

On white

6.97
#9F2579 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F2579 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2579
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2579#FFFFFF#000000##FFFFFF
##9F25791.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334C7B
Deuteranopia (green-blind)
#596176
Tritanopia (blue-blind)
#AA254C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2579;
/* rgb */ color: rgb(159, 37, 121);
/* oklch */ color: oklch(48.9% 0.178 343.6);
Tailwind
colors: {
  custom: {
    50: '#bf6da0',
    500: '#9f2579',
    950: '#000000',
  },
}
SCSS
$custom: #9f2579;
$custom-light: #bf6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2579",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 318.689,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48898,
    "c": 0.17823,
    "h": 343.6
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#9F2579
secondary
#5FC07E
accent
#E57542
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9F2579

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

Preview Lab → · Contrast checker → · Palette generator →

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