#9C2279#9C2279

#9C2279 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.179 H 342.4°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9C2279
RGBrgb(156, 34, 121)
HSLhsl(317, 64%, 37%)
HSVhsv(317, 78%, 61%)
CMYKcmyk(0%, 78.2%, 22.4%, 38.8%)
CIE-LABlab(37.10, 56.81, -20.21)
CIE-LCHlch(37.10, 60.30, 340.42°)
OKLaboklab(48.16% 0.171 -0.0542)
OKLCHoklch(48.16% 0.179 342.4)
XYZxyz(17.7342, 9.5943, 19.0034)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2279 #229C45
analogous
#82229C #9C2279 #9C223C
triadic
#9C2279 #799C22 #22799C
tetradic
#9C2279 #9C8222 #229C45 #223C9C
square
#9C2279 #9C8222 #229C45 #223C9C
split-complementary
#9C2279 #3C9C22 #229C82
monochromatic
#380C2B #6A1752 #9C2279 #CE2DA0 #DC5DB7

Accessibility & contrast

On white

7.20
#9C2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9C2279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C2279
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2279#FFFFFF#000000##FFFFFF
##9C22791.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4B7B
Deuteranopia (green-blind)
#565E76
Tritanopia (blue-blind)
#A6234B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9c2279;
/* rgb */ color: rgb(156, 34, 121);
/* oklch */ color: oklch(48.2% 0.179 342.4);
Tailwind
colors: {
  custom: {
    50: '#bd6ba0',
    500: '#9c2279',
    950: '#000000',
  },
}
SCSS
$custom: #9c2279;
$custom-light: #bd6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2279",
  "rgb": {
    "r": 156,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 317.213,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48162,
    "c": 0.17942,
    "h": 342.4
  },
  "luminance": 0.09592
}

Semantic roles & 50–950 ramp

primary
#9C2279
secondary
#5AC077
accent
#E77041
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070E
muted
#827A7E

Preview Lab

Preview with #9C2279

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

Preview Lab → · Contrast checker → · Palette generator →

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