#9F2079#9F2079

#9F2079 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.183 H 343.3°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9F2079
RGBrgb(159, 32, 121)
HSLhsl(318, 66%, 37%)
HSVhsv(318, 80%, 62%)
CMYKcmyk(0%, 79.9%, 23.9%, 37.6%)
CIE-LABlab(37.46, 58.13, -19.62)
CIE-LCHlch(37.46, 61.35, 341.35°)
OKLaboklab(48.52% 0.1756 -0.0525)
OKLCHoklch(48.52% 0.183 343.3)
XYZxyz(18.2665, 9.7864, 19.0124)
Luminance0.0978 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2079 #209F46
analogous
#86209F #9F2079 #9F2039
triadic
#9F2079 #799F20 #20799F
tetradic
#9F2079 #9F8620 #209F46 #20399F
square
#9F2079 #9F8620 #209F46 #20399F
split-complementary
#9F2079 #399F20 #209F86
monochromatic
#390B2B #6C1652 #9F2079 #D22AA0 #DE5BB7

Accessibility & contrast

On white

7.10
#9F2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9F2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2079
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2079#FFFFFF#000000##FFFFFF
##9F20791.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7B
Deuteranopia (green-blind)
#576076
Tritanopia (blue-blind)
#AA204B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2079;
/* rgb */ color: rgb(159, 32, 121);
/* oklch */ color: oklch(48.5% 0.183 343.3);
Tailwind
colors: {
  custom: {
    50: '#c06ba0',
    500: '#9f2079',
    950: '#000000',
  },
}
SCSS
$custom: #9f2079;
$custom-light: #c06ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2079",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 317.953,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4852,
    "c": 0.18327,
    "h": 343.3
  },
  "luminance": 0.09784
}

Semantic roles & 50–950 ramp

primary
#9F2079
secondary
#59C278
accent
#E9723E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F2079

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

Preview Lab → · Contrast checker → · Palette generator →

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