#9A255B#9A255B

#9A255B is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.8% C 0.159 H 357.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9A255B
RGBrgb(154, 37, 91)
HSLhsl(332, 61%, 37%)
HSVhsv(332, 76%, 60%)
CMYKcmyk(0%, 76%, 40.9%, 39.6%)
CIE-LABlab(35.89, 51.71, -3.08)
CIE-LCHlch(35.89, 51.80, 356.59°)
OKLaboklab(46.82% 0.1588 -0.0074)
OKLCHoklch(46.82% 0.159 357.3)
XYZxyz(15.8774, 8.9505, 10.7870)
Luminance0.0895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A255B #259A64
analogous
#9A2595 #9A255B #9A2A25
triadic
#9A255B #5B9A25 #255B9A
tetradic
#9A255B #959A25 #259A64 #2A259A
square
#9A255B #959A25 #259A64 #2A259A
split-complementary
#9A255B #259A2A #25959A
monochromatic
#370D21 #69193E #9A255B #CB3178 #D96098

Accessibility & contrast

On white

7.53
#9A255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9A255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A255B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A255B#FFFFFF#000000##FFFFFF
##9A255B1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D465C
Deuteranopia (green-blind)
#5E5C58
Tritanopia (blue-blind)
#A7153D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a255b;
/* rgb */ color: rgb(154, 37, 91);
/* oklch */ color: oklch(46.8% 0.159 357.3);
Tailwind
colors: {
  custom: {
    50: '#bd6b89',
    500: '#9a255b',
    950: '#000000',
  },
}
SCSS
$custom: #9a255b;
$custom-light: #bd6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#9a255b",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 332.308,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46822,
    "c": 0.159,
    "h": 357.3
  },
  "luminance": 0.08948
}

Semantic roles & 50–950 ramp

primary
#9A255B
secondary
#5DBE91
accent
#E49A43
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A255B

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

Preview Lab → · Contrast checker → · Palette generator →

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