#9C267A#9C267A

#9C267A is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.5% C 0.176 H 342.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9C267A
RGBrgb(156, 38, 122)
HSLhsl(317, 61%, 38%)
HSVhsv(317, 76%, 61%)
CMYKcmyk(0%, 75.6%, 21.8%, 38.8%)
CIE-LABlab(37.59, 55.69, -20.08)
CIE-LCHlch(37.59, 59.20, 340.17°)
OKLaboklab(48.53% 0.1673 -0.0539)
OKLCHoklch(48.53% 0.176 342.1)
XYZxyz(17.9169, 9.8611, 19.3684)
Luminance0.0986 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C267A #269C48
analogous
#83269C #9C267A #9C263F
triadic
#9C267A #7A9C26 #267A9C
tetradic
#9C267A #9C8326 #269C48 #263F9C
square
#9C267A #9C8326 #269C48 #263F9C
split-complementary
#9C267A #3F9C26 #269C83
monochromatic
#3A0E2D #6B1A54 #9C267A #CD32A0 #D963B7

Accessibility & contrast

On white

7.07
#9C267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9C267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C267A
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C267A#FFFFFF#000000##FFFFFF
##9C267A1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7C
Deuteranopia (green-blind)
#575F77
Tritanopia (blue-blind)
#A6274D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9c267a;
/* rgb */ color: rgb(156, 38, 122);
/* oklch */ color: oklch(48.5% 0.176 342.1);
Tailwind
colors: {
  custom: {
    50: '#bd6da0',
    500: '#9c267a',
    950: '#000000',
  },
}
SCSS
$custom: #9c267a;
$custom-light: #bd6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c267a",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 317.288,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4853,
    "c": 0.17579,
    "h": 342.1
  },
  "luminance": 0.09859
}

Semantic roles & 50–950 ramp

primary
#9C267A
secondary
#5FBF7B
accent
#E47244
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #9C267A

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

Preview Lab → · Contrast checker → · Palette generator →

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