#9C267B#9C267B

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

Color values

HEX#9C267B
RGBrgb(156, 38, 123)
HSLhsl(317, 61%, 38%)
HSVhsv(317, 76%, 61%)
CMYKcmyk(0%, 75.6%, 21.2%, 38.8%)
CIE-LABlab(37.64, 55.83, -20.63)
CIE-LCHlch(37.64, 59.52, 339.72°)
OKLaboklab(48.58% 0.1675 -0.0555)
OKLCHoklch(48.58% 0.176 341.7)
XYZxyz(17.9792, 9.8860, 19.6964)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C267B #269C47
analogous
#82269C #9C267B #9C2640
triadic
#9C267B #7B9C26 #267B9C
tetradic
#9C267B #9C8226 #269C47 #26409C
square
#9C267B #9C8226 #269C47 #26409C
split-complementary
#9C267B #409C26 #269C82
monochromatic
#3A0E2D #6B1A54 #9C267B #CD32A2 #D963B8

Accessibility & contrast

On white

7.05
#9C267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9C267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C267B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C267B#FFFFFF#000000##FFFFFF
##9C267B1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314C7D
Deuteranopia (green-blind)
#565F78
Tritanopia (blue-blind)
#A6284D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c267b;
/* rgb */ color: rgb(156, 38, 123);
/* oklch */ color: oklch(48.6% 0.176 341.7);
Tailwind
colors: {
  custom: {
    50: '#bd6da1',
    500: '#9c267b',
    950: '#000000',
  },
}
SCSS
$custom: #9c267b;
$custom-light: #bd6da1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c267b",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 316.78,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48578,
    "c": 0.17644,
    "h": 341.7
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#9C267B
secondary
#5FBF7A
accent
#E47144
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #9C267B

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

Preview Lab → · Contrast checker → · Palette generator →

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