#9F2078#9F2078

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

Color values

HEX#9F2078
RGBrgb(159, 32, 120)
HSLhsl(318, 66%, 37%)
HSVhsv(318, 80%, 62%)
CMYKcmyk(0%, 79.9%, 24.5%, 37.6%)
CIE-LABlab(37.41, 58.00, -19.06)
CIE-LCHlch(37.41, 61.05, 341.80°)
OKLaboklab(48.47% 0.1754 -0.051)
OKLCHoklch(48.47% 0.183 343.8)
XYZxyz(18.2055, 9.7620, 18.6912)
Luminance0.0976 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2078 #209F47
analogous
#86209F #9F2078 #9F2039
triadic
#9F2078 #789F20 #20789F
tetradic
#9F2078 #9F8620 #209F47 #20399F
square
#9F2078 #9F8620 #209F47 #20399F
split-complementary
#9F2078 #399F20 #209F86
monochromatic
#390B2B #6C1652 #9F2078 #D22A9E #DE5BB6

Accessibility & contrast

On white

7.11
#9F2078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9F2078 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2078
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2078#FFFFFF#000000##FFFFFF
##9F20781.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7A
Deuteranopia (green-blind)
#586075
Tritanopia (blue-blind)
#AA1F4A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2078;
/* rgb */ color: rgb(159, 32, 120);
/* oklch */ color: oklch(48.5% 0.183 343.8);
Tailwind
colors: {
  custom: {
    50: '#c06b9f',
    500: '#9f2078',
    950: '#000000',
  },
}
SCSS
$custom: #9f2078;
$custom-light: #c06b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2078",
  "rgb": {
    "r": 159,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 318.425,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48473,
    "c": 0.18267,
    "h": 343.8
  },
  "luminance": 0.0976
}

Semantic roles & 50–950 ramp

primary
#9F2078
secondary
#59C279
accent
#E9733E
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9F2078

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

Preview Lab → · Contrast checker → · Palette generator →

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