#9F2277#9F2277

#9F2277 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.180 H 344.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9F2277
RGBrgb(159, 34, 119)
HSLhsl(319, 65%, 38%)
HSVhsv(319, 79%, 62%)
CMYKcmyk(0%, 78.6%, 25.2%, 37.6%)
CIE-LABlab(37.57, 57.29, -18.19)
CIE-LCHlch(37.57, 60.11, 342.38°)
OKLaboklab(48.57% 0.1735 -0.0485)
OKLCHoklch(48.57% 0.18 344.4)
XYZxyz(18.2006, 9.8489, 18.3917)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2277 #229F4A
analogous
#88229F #9F2277 #9F2238
triadic
#9F2277 #779F22 #22779F
tetradic
#9F2277 #9F8822 #229F4A #22389F
square
#9F2277 #9F8822 #229F4A #22389F
split-complementary
#9F2277 #389F22 #229F88
monochromatic
#3A0C2C #6D1751 #9F2277 #D12D9D #DD5FB4

Accessibility & contrast

On white

7.07
#9F2277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9F2277 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F2277
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2277#FFFFFF#000000##FFFFFF
##9F22771.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324B79
Deuteranopia (green-blind)
#596074
Tritanopia (blue-blind)
#AA214A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2277;
/* rgb */ color: rgb(159, 34, 119);
/* oklch */ color: oklch(48.6% 0.180 344.4);
Tailwind
colors: {
  custom: {
    50: '#c06b9e',
    500: '#9f2277',
    950: '#000000',
  },
}
SCSS
$custom: #9f2277;
$custom-light: #c06b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2277",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 319.2,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48573,
    "c": 0.18011,
    "h": 344.4
  },
  "luminance": 0.09847
}

Semantic roles & 50–950 ramp

primary
#9F2277
secondary
#5BC17C
accent
#E87640
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9F2277

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

Preview Lab → · Contrast checker → · Palette generator →

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