#9A267D#9A267D

#9A267D is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.3% C 0.176 H 340.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9A267D
RGBrgb(154, 38, 125)
HSLhsl(315, 60%, 38%)
HSVhsv(315, 75%, 60%)
CMYKcmyk(0%, 75.3%, 18.8%, 39.6%)
CIE-LABlab(37.37, 55.60, -22.32)
CIE-LCHlch(37.37, 59.92, 338.13°)
OKLaboklab(48.35% 0.1659 -0.0603)
OKLCHoklch(48.35% 0.176 340)
XYZxyz(17.7217, 9.7387, 20.3445)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A267D #269A43
analogous
#7D269A #9A267D #9A2643
triadic
#9A267D #7D9A26 #267D9A
tetradic
#9A267D #9A7D26 #269A43 #26439A
square
#9A267D #9A7D26 #269A43 #26439A
split-complementary
#9A267D #439A26 #269A7D
monochromatic
#380E2D #691A55 #9A267D #CB32A5 #D862BB

Accessibility & contrast

On white

7.12
#9A267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9A267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A267D
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A267D#FFFFFF#000000##FFFFFF
##9A267D1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#545F7A
Tritanopia (blue-blind)
#A32A4F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a267d;
/* rgb */ color: rgb(154, 38, 125);
/* oklch */ color: oklch(48.3% 0.176 340.0);
Tailwind
colors: {
  custom: {
    50: '#bb6ca3',
    500: '#9a267d',
    950: '#000000',
  },
}
SCSS
$custom: #9a267d;
$custom-light: #bb6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a267d",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 315,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48346,
    "c": 0.17647,
    "h": 340
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#9A267D
secondary
#5EBE76
accent
#E46C44
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9A267D

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

Preview Lab → · Contrast checker → · Palette generator →

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