#9A267E#9A267E

#9A267E is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.4% C 0.177 H 339.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9A267E
RGBrgb(154, 38, 126)
HSLhsl(314, 60%, 38%)
HSVhsv(314, 75%, 60%)
CMYKcmyk(0%, 75.3%, 18.2%, 39.6%)
CIE-LABlab(37.42, 55.75, -22.87)
CIE-LCHlch(37.42, 60.26, 337.69°)
OKLaboklab(48.4% 0.166 -0.0618)
OKLCHoklch(48.4% 0.177 339.6)
XYZxyz(17.7859, 9.7644, 20.6826)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A267E #269A42
analogous
#7C269A #9A267E #9A2644
triadic
#9A267E #7E9A26 #267E9A
tetradic
#9A267E #9A7C26 #269A42 #26449A
square
#9A267E #9A7C26 #269A42 #26449A
split-complementary
#9A267E #449A26 #269A7C
monochromatic
#380E2E #691A56 #9A267E #CB32A6 #D862BC

Accessibility & contrast

On white

7.11
#9A267E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A267E
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A267E#FFFFFF#000000##FFFFFF
##9A267E1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a267e;
/* rgb */ color: rgb(154, 38, 126);
/* oklch */ color: oklch(48.4% 0.177 339.6);
Tailwind
colors: {
  custom: {
    50: '#bb6ca3',
    500: '#9a267e',
    950: '#000000',
  },
}
SCSS
$custom: #9a267e;
$custom-light: #bb6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a267e",
  "rgb": {
    "r": 154,
    "g": 38,
    "b": 126
  },
  "hsl": {
    "h": 314.483,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48395,
    "c": 0.17713,
    "h": 339.6
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#9A267E
secondary
#5EBE75
accent
#E46B44
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9A267E

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

Preview Lab → · Contrast checker → · Palette generator →

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