#9A255C#9A255C

#9A255C is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.9% C 0.159 H 356.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9A255C
RGBrgb(154, 37, 92)
HSLhsl(332, 61%, 37%)
HSVhsv(332, 76%, 60%)
CMYKcmyk(0%, 76%, 40.3%, 39.6%)
CIE-LABlab(35.92, 51.82, -3.67)
CIE-LCHlch(35.92, 51.95, 355.95°)
OKLaboklab(46.86% 0.1592 -0.009)
OKLCHoklch(46.86% 0.159 356.8)
XYZxyz(15.9209, 8.9679, 11.0157)
Luminance0.0897 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A255C #259A63
analogous
#9A2597 #9A255C #9A2825
triadic
#9A255C #5C9A25 #255C9A
tetradic
#9A255C #979A25 #259A63 #28259A
square
#9A255C #979A25 #259A63 #28259A
split-complementary
#9A255C #259A28 #25979A
monochromatic
#370D21 #69193F #9A255C #CB3179 #D96099

Accessibility & contrast

On white

7.52
#9A255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A255C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A255C#FFFFFF#000000##FFFFFF
##9A255C1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a255c;
/* rgb */ color: rgb(154, 37, 92);
/* oklch */ color: oklch(46.9% 0.159 356.8);
Tailwind
colors: {
  custom: {
    50: '#bc6b8a',
    500: '#9a255c',
    950: '#000000',
  },
}
SCSS
$custom: #9a255c;
$custom-light: #bc6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a255c",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 331.795,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46858,
    "c": 0.1594,
    "h": 356.8
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#9A255C
secondary
#5DBE90
accent
#E49943
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A255C

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

Preview Lab → · Contrast checker → · Palette generator →

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