#9F2276#9F2276

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

Color values

HEX#9F2276
RGBrgb(159, 34, 118)
HSLhsl(320, 65%, 38%)
HSVhsv(320, 79%, 62%)
CMYKcmyk(0%, 78.6%, 25.8%, 37.6%)
CIE-LABlab(37.53, 57.16, -17.64)
CIE-LCHlch(37.53, 59.82, 342.85°)
OKLaboklab(48.53% 0.1733 -0.047)
OKLCHoklch(48.53% 0.18 344.8)
XYZxyz(18.1409, 9.8250, 18.0771)
Luminance0.0982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2276 #229F4B
analogous
#89229F #9F2276 #9F2237
triadic
#9F2276 #769F22 #22769F
tetradic
#9F2276 #9F8922 #229F4B #22379F
square
#9F2276 #9F8922 #229F4B #22379F
split-complementary
#9F2276 #379F22 #229F89
monochromatic
#3A0C2B #6D1751 #9F2276 #D12D9B #DD5FB3

Accessibility & contrast

On white

7.08
#9F2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F2276
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2276#FFFFFF#000000##FFFFFF
##9F22761.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334B78
Deuteranopia (green-blind)
#596073
Tritanopia (blue-blind)
#AA204A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9f2276;
/* rgb */ color: rgb(159, 34, 118);
/* oklch */ color: oklch(48.5% 0.180 344.8);
Tailwind
colors: {
  custom: {
    50: '#c06b9d',
    500: '#9f2276',
    950: '#000000',
  },
}
SCSS
$custom: #9f2276;
$custom-light: #c06b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2276",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 319.68,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48527,
    "c": 0.17952,
    "h": 344.8
  },
  "luminance": 0.09823
}

Semantic roles & 50–950 ramp

primary
#9F2276
secondary
#5BC17D
accent
#E87740
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9F2276

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

Preview Lab → · Contrast checker → · Palette generator →

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