#9F2279#9F2279

#9F2279 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.181 H 343.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9F2279
RGBrgb(159, 34, 121)
HSLhsl(318, 65%, 38%)
HSVhsv(318, 79%, 62%)
CMYKcmyk(0%, 78.6%, 23.9%, 37.6%)
CIE-LABlab(37.66, 57.55, -19.31)
CIE-LCHlch(37.66, 60.70, 341.45°)
OKLaboklab(48.67% 0.1738 -0.0517)
OKLCHoklch(48.67% 0.181 343.4)
XYZxyz(18.3220, 9.8974, 19.0310)
Luminance0.0989 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2279 #229F48
analogous
#86229F #9F2279 #9F223A
triadic
#9F2279 #799F22 #22799F
tetradic
#9F2279 #9F8622 #229F48 #223A9F
square
#9F2279 #9F8622 #229F48 #223A9F
split-complementary
#9F2279 #3A9F22 #229F86
monochromatic
#3A0C2C #6D1753 #9F2279 #D12D9F #DD5FB6

Accessibility & contrast

On white

7.05
#9F2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9F2279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2279
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2279#FFFFFF#000000##FFFFFF
##9F22791.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314B7B
Deuteranopia (green-blind)
#586076
Tritanopia (blue-blind)
#AA224B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2279;
/* rgb */ color: rgb(159, 34, 121);
/* oklch */ color: oklch(48.7% 0.181 343.4);
Tailwind
colors: {
  custom: {
    50: '#bf6ba0',
    500: '#9f2279',
    950: '#000000',
  },
}
SCSS
$custom: #9f2279;
$custom-light: #bf6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2279",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 318.24,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48665,
    "c": 0.18133,
    "h": 343.4
  },
  "luminance": 0.09895
}

Semantic roles & 50–950 ramp

primary
#9F2279
secondary
#5BC17A
accent
#E87340
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9F2279

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

Preview Lab → · Contrast checker → · Palette generator →

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