#9A257D#9A257D

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

Color values

HEX#9A257D
RGBrgb(154, 37, 125)
HSLhsl(315, 61%, 37%)
HSVhsv(315, 76%, 60%)
CMYKcmyk(0%, 76%, 18.8%, 39.6%)
CIE-LABlab(37.25, 55.93, -22.50)
CIE-LCHlch(37.25, 60.29, 338.08°)
OKLaboklab(48.26% 0.1668 -0.0608)
OKLCHoklch(48.26% 0.178 340)
XYZxyz(17.6902, 9.6756, 20.3340)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A257D #259A42
analogous
#7D259A #9A257D #9A2542
triadic
#9A257D #7D9A25 #257D9A
tetradic
#9A257D #9A7D25 #259A42 #25429A
square
#9A257D #9A7D25 #259A42 #25429A
split-complementary
#9A257D #429A25 #259A7D
monochromatic
#370D2D #691955 #9A257D #CB31A5 #D960BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A257D#FFFFFF#000000##FFFFFF
##9A257D1.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)
#2D4C7F
Deuteranopia (green-blind)
#545E7A
Tritanopia (blue-blind)
#A3294E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a257d;
/* rgb */ color: rgb(154, 37, 125);
/* oklch */ color: oklch(48.3% 0.178 340.0);
Tailwind
colors: {
  custom: {
    50: '#bb6ca3',
    500: '#9a257d',
    950: '#000000',
  },
}
SCSS
$custom: #9a257d;
$custom-light: #bb6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a257d",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 314.872,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48263,
    "c": 0.17757,
    "h": 340
  },
  "luminance": 0.09674
}

Semantic roles & 50–950 ramp

primary
#9A257D
secondary
#5DBE75
accent
#E46B43
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12080F
muted
#817B7F

Preview Lab

Preview with #9A257D

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

Preview Lab → · Contrast checker → · Palette generator →

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