#9C267D#9C267D

#9C267D is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.178 H 340.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9C267D
RGBrgb(156, 38, 125)
HSLhsl(316, 61%, 38%)
HSVhsv(316, 76%, 61%)
CMYKcmyk(0%, 75.6%, 19.9%, 38.8%)
CIE-LABlab(37.73, 56.10, -21.74)
CIE-LCHlch(37.73, 60.17, 338.82°)
OKLaboklab(48.67% 0.1678 -0.0586)
OKLCHoklch(48.67% 0.178 340.8)
XYZxyz(18.1056, 9.9366, 20.3625)
Luminance0.0993 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C267D #269C45
analogous
#80269C #9C267D #9C2642
triadic
#9C267D #7D9C26 #267D9C
tetradic
#9C267D #9C8026 #269C45 #26429C
square
#9C267D #9C8026 #269C45 #26429C
split-complementary
#9C267D #429C26 #269C80
monochromatic
#3A0E2E #6B1A56 #9C267D #CD32A4 #D963BA

Accessibility & contrast

On white

7.03
#9C267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9C267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C267D
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C267D#FFFFFF#000000##FFFFFF
##9C267D1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#56607A
Tritanopia (blue-blind)
#A6294F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c267d;
/* rgb */ color: rgb(156, 38, 125);
/* oklch */ color: oklch(48.7% 0.178 340.8);
Tailwind
colors: {
  custom: {
    50: '#bd6da3',
    500: '#9c267d',
    950: '#000000',
  },
}
SCSS
$custom: #9c267d;
$custom-light: #bd6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c267d",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 315.763,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48674,
    "c": 0.17773,
    "h": 340.8
  },
  "luminance": 0.09935
}

Semantic roles & 50–950 ramp

primary
#9C267D
secondary
#5FBF78
accent
#E46E44
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9C267D

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

Preview Lab → · Contrast checker → · Palette generator →

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