#9A267A#9A267A

#9A267A is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.174 H 341.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#9A267A
RGBrgb(154, 38, 122)
HSLhsl(317, 60%, 38%)
HSVhsv(317, 75%, 60%)
CMYKcmyk(0%, 75.3%, 20.8%, 39.6%)
CIE-LABlab(37.23, 55.18, -20.67)
CIE-LCHlch(37.23, 58.93, 339.47°)
OKLaboklab(48.2% 0.1654 -0.0556)
OKLCHoklch(48.2% 0.174 341.4)
XYZxyz(17.5330, 9.6632, 19.3504)
Luminance0.0966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A267A #269A46
analogous
#80269A #9A267A #9A2640
triadic
#9A267A #7A9A26 #267A9A
tetradic
#9A267A #9A8026 #269A46 #26409A
square
#9A267A #9A8026 #269A46 #26409A
split-complementary
#9A267A #409A26 #269A80
monochromatic
#380E2C #691A53 #9A267A #CB32A1 #D862B8

Accessibility & contrast

On white

7.16
#9A267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9A267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A267A
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A267A#FFFFFF#000000##FFFFFF
##9A267A1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7C
Deuteranopia (green-blind)
#555E77
Tritanopia (blue-blind)
#A4284D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a267a;
/* rgb */ color: rgb(154, 38, 122);
/* oklch */ color: oklch(48.2% 0.174 341.4);
Tailwind
colors: {
  custom: {
    50: '#bc6ca0',
    500: '#9a267a',
    950: '#000000',
  },
}
SCSS
$custom: #9a267a;
$custom-light: #bc6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a267a",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 316.552,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48201,
    "c": 0.17448,
    "h": 341.4
  },
  "luminance": 0.09661
}

Semantic roles & 50–950 ramp

primary
#9A267A
secondary
#5EBE78
accent
#E47044
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12080E
muted
#817B7E

Preview Lab

Preview with #9A267A

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

Preview Lab → · Contrast checker → · Palette generator →

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