#9A267C#9A267C

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

Color values

HEX#9A267C
RGBrgb(154, 38, 124)
HSLhsl(316, 60%, 38%)
HSVhsv(316, 75%, 60%)
CMYKcmyk(0%, 75.3%, 19.5%, 39.6%)
CIE-LABlab(37.32, 55.46, -21.77)
CIE-LCHlch(37.32, 59.58, 338.57°)
OKLaboklab(48.3% 0.1657 -0.0587)
OKLCHoklch(48.3% 0.176 340.5)
XYZxyz(17.6581, 9.7132, 20.0098)
Luminance0.0971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A267C #269A44
analogous
#7E269A #9A267C #9A2642
triadic
#9A267C #7C9A26 #267C9A
tetradic
#9A267C #9A7E26 #269A44 #26429A
square
#9A267C #9A7E26 #269A44 #26429A
split-complementary
#9A267C #429A26 #269A7E
monochromatic
#380E2D #691A54 #9A267C #CB32A4 #D862BA

Accessibility & contrast

On white

7.14
#9A267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#9A267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A267C
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A267C#FFFFFF#000000##FFFFFF
##9A267C1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7E
Deuteranopia (green-blind)
#545E79
Tritanopia (blue-blind)
#A3294E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a267c;
/* rgb */ color: rgb(154, 38, 124);
/* oklch */ color: oklch(48.3% 0.176 340.5);
Tailwind
colors: {
  custom: {
    50: '#bb6ca2',
    500: '#9a267c',
    950: '#000000',
  },
}
SCSS
$custom: #9a267c;
$custom-light: #bb6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a267c",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 315.517,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48297,
    "c": 0.1758,
    "h": 340.5
  },
  "luminance": 0.09711
}

Semantic roles & 50–950 ramp

primary
#9A267C
secondary
#5EBE77
accent
#E46D44
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9A267C

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

Preview Lab → · Contrast checker → · Palette generator →

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