#9C267E#9C267E

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

Color values

HEX#9C267E
RGBrgb(156, 38, 126)
HSLhsl(315, 61%, 38%)
HSVhsv(315, 76%, 61%)
CMYKcmyk(0%, 75.6%, 19.2%, 38.8%)
CIE-LABlab(37.77, 56.24, -22.29)
CIE-LCHlch(37.77, 60.50, 338.38°)
OKLaboklab(48.72% 0.1679 -0.0601)
OKLCHoklch(48.72% 0.178 340.3)
XYZxyz(18.1698, 9.9623, 20.7006)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C267E #269C44
analogous
#7F269C #9C267E #9C2643
triadic
#9C267E #7E9C26 #267E9C
tetradic
#9C267E #9C7F26 #269C44 #26439C
square
#9C267E #9C7F26 #269C44 #26439C
split-complementary
#9C267E #439C26 #269C7F
monochromatic
#3A0E2F #6B1A56 #9C267E #CD32A6 #D963BB

Accessibility & contrast

On white

7.02
#9C267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C267E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C267E#FFFFFF#000000##FFFFFF
##9C267E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#55607B
Tritanopia (blue-blind)
#A52A4F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c267e;
/* rgb */ color: rgb(156, 38, 126);
/* oklch */ color: oklch(48.7% 0.178 340.3);
Tailwind
colors: {
  custom: {
    50: '#bd6da3',
    500: '#9c267e',
    950: '#000000',
  },
}
SCSS
$custom: #9c267e;
$custom-light: #bd6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c267e",
  "rgb": {
    "r": 156,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 315.254,
    "s": 60.825,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48722,
    "c": 0.17839,
    "h": 340.3
  },
  "luminance": 0.09961
}

Semantic roles & 50–950 ramp

primary
#9C267E
secondary
#5FBF77
accent
#E46D44
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9C267E

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

Preview Lab → · Contrast checker → · Palette generator →

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