#9C2F72#9C2F72

#9C2F72 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.0% C 0.160 H 346.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9C2F72
RGBrgb(156, 47, 114)
HSLhsl(323, 54%, 40%)
HSVhsv(323, 70%, 61%)
CMYKcmyk(0%, 69.9%, 26.9%, 38.8%)
CIE-LABlab(38.41, 51.36, -13.83)
CIE-LCHlch(38.41, 53.19, 344.93°)
OKLaboklab(49.01% 0.1557 -0.0365)
OKLCHoklch(49.01% 0.16 346.8)
XYZxyz(17.7648, 10.3177, 16.9723)
Luminance0.1032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F72 #2F9C59
analogous
#902F9C #9C2F72 #9C2F3C
triadic
#9C2F72 #729C2F #2F729C
tetradic
#9C2F72 #9C902F #2F9C59 #2F3C9C
square
#9C2F72 #9C902F #2F9C59 #2F3C9C
split-complementary
#9C2F72 #3C9C2F #2F9C90
monochromatic
#3E132D #6D2150 #9C2F72 #C64293 #D471AE

Accessibility & contrast

On white

6.86
#9C2F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9C2F72 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F72
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F72#FFFFFF#000000##FFFFFF
##9C2F721.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E74
Deuteranopia (green-blind)
#5C616F
Tritanopia (blue-blind)
#A72C4C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2f72;
/* rgb */ color: rgb(156, 47, 114);
/* oklch */ color: oklch(49.0% 0.160 346.8);
Tailwind
colors: {
  custom: {
    50: '#bd709a',
    500: '#9c2f72',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f72;
$custom-light: #bd709a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f72",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 323.119,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49013,
    "c": 0.15992,
    "h": 346.8
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#9C2F72
secondary
#6BBC8A
accent
#DD834B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9C2F72

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

Preview Lab → · Contrast checker → · Palette generator →

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