#9C2F6B#9C2F6B

#9C2F6B is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.7% C 0.156 H 350.6°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9C2F6B
RGBrgb(156, 47, 107)
HSLhsl(327, 54%, 40%)
HSVhsv(327, 70%, 61%)
CMYKcmyk(0%, 69.9%, 31.4%, 38.8%)
CIE-LABlab(38.14, 50.46, -9.85)
CIE-LCHlch(38.14, 51.41, 348.96°)
OKLaboklab(48.73% 0.1539 -0.0256)
OKLCHoklch(48.73% 0.156 350.6)
XYZxyz(17.3815, 10.1644, 14.9536)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F6B #2F9C60
analogous
#962F9C #9C2F6B #9C2F35
triadic
#9C2F6B #6B9C2F #2F6B9C
tetradic
#9C2F6B #9C962F #2F9C60 #2F359C
square
#9C2F6B #9C962F #2F9C60 #2F359C
split-complementary
#9C2F6B #359C2F #2F9C96
monochromatic
#3E132A #6D214B #9C2F6B #C6428B #D471A8

Accessibility & contrast

On white

6.93
#9C2F6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9C2F6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F6B
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F6B#FFFFFF#000000##FFFFFF
##9C2F6B1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4D6D
Deuteranopia (green-blind)
#5E6168
Tritanopia (blue-blind)
#A72949
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2f6b;
/* rgb */ color: rgb(156, 47, 107);
/* oklch */ color: oklch(48.7% 0.156 350.6);
Tailwind
colors: {
  custom: {
    50: '#bd7095',
    500: '#9c2f6b',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f6b;
$custom-light: #bd7095;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f6b",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 326.972,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48726,
    "c": 0.156,
    "h": 350.6
  },
  "luminance": 0.10162
}

Semantic roles & 50–950 ramp

primary
#9C2F6B
secondary
#6BBC8F
accent
#DD8D4B
background
#FCF7F9
surface
#F8EDF1
border
#D1C8CB
text
#13080D
muted
#827B7E

Preview Lab

Preview with #9C2F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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