#9C2F7D#9C2F7D

#9C2F7D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.167 H 341.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9C2F7D
RGBrgb(156, 47, 125)
HSLhsl(317, 54%, 40%)
HSVhsv(317, 70%, 61%)
CMYKcmyk(0%, 69.9%, 19.9%, 38.8%)
CIE-LABlab(38.87, 52.89, -19.97)
CIE-LCHlch(38.87, 56.53, 339.31°)
OKLaboklab(49.5% 0.158 -0.0537)
OKLCHoklch(49.5% 0.167 341.2)
XYZxyz(18.4290, 10.5834, 20.4703)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F7D #2F9C4E
analogous
#852F9C #9C2F7D #9C2F47
triadic
#9C2F7D #7D9C2F #2F7D9C
tetradic
#9C2F7D #9C852F #2F9C4E #2F479C
square
#9C2F7D #9C852F #2F9C4E #2F479C
split-complementary
#9C2F7D #479C2F #2F9C85
monochromatic
#3E1332 #6D2157 #9C2F7D #C642A1 #D471B8

Accessibility & contrast

On white

6.74
#9C2F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9C2F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F7D
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F7D#FFFFFF#000000##FFFFFF
##9C2F7D1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37507F
Deuteranopia (green-blind)
#59627A
Tritanopia (blue-blind)
#A53152
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2f7d;
/* rgb */ color: rgb(156, 47, 125);
/* oklch */ color: oklch(49.5% 0.167 341.2);
Tailwind
colors: {
  custom: {
    50: '#bd71a3',
    500: '#9c2f7d',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f7d;
$custom-light: #bd71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f7d",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 317.064,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49503,
    "c": 0.1669,
    "h": 341.2
  },
  "luminance": 0.10582
}

Semantic roles & 50–950 ramp

primary
#9C2F7D
secondary
#6BBC82
accent
#DD744B
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9C2F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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