#9B267E#9B267E

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

Color values

HEX#9B267E
RGBrgb(155, 38, 126)
HSLhsl(315, 61%, 38%)
HSVhsv(315, 75%, 61%)
CMYKcmyk(0%, 75.5%, 18.7%, 39.2%)
CIE-LABlab(37.60, 56.00, -22.58)
CIE-LCHlch(37.60, 60.38, 338.04°)
OKLaboklab(48.56% 0.167 -0.061)
OKLCHoklch(48.56% 0.178 339.9)
XYZxyz(17.9771, 9.8629, 20.6916)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B267E #269B43
analogous
#7E269B #9B267E #9B2643
triadic
#9B267E #7E9B26 #267E9B
tetradic
#9B267E #9B7E26 #269B43 #26439B
square
#9B267E #9B7E26 #269B43 #26439B
split-complementary
#9B267E #439B26 #269B7E
monochromatic
#390E2E #6A1A56 #9B267E #CC32A6 #D963BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B267E#FFFFFF#000000##FFFFFF
##9B267E1.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)
#2E4D80
Deuteranopia (green-blind)
#545F7B
Tritanopia (blue-blind)
#A42A4F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9b267e;
/* rgb */ color: rgb(155, 38, 126);
/* oklch */ color: oklch(48.6% 0.178 339.9);
Tailwind
colors: {
  custom: {
    50: '#bc6da3',
    500: '#9b267e',
    950: '#000000',
  },
}
SCSS
$custom: #9b267e;
$custom-light: #bc6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b267e",
  "rgb": {
    "r": 155,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 314.872,
    "s": 60.622,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48559,
    "c": 0.17776,
    "h": 339.9
  },
  "luminance": 0.09861
}

Semantic roles & 50–950 ramp

primary
#9B267E
secondary
#5FBE76
accent
#E46C44
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9B267E

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

Preview Lab → · Contrast checker → · Palette generator →

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