#9A255D#9A255D

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

Color values

HEX#9A255D
RGBrgb(154, 37, 93)
HSLhsl(331, 61%, 37%)
HSVhsv(331, 76%, 60%)
CMYKcmyk(0%, 76%, 39.6%, 39.6%)
CIE-LABlab(35.96, 51.93, -4.26)
CIE-LCHlch(35.96, 52.10, 355.31°)
OKLaboklab(46.89% 0.1595 -0.0106)
OKLCHoklch(46.89% 0.16 356.2)
XYZxyz(15.9649, 8.9855, 11.2475)
Luminance0.0898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A255D #259A62
analogous
#9A2598 #9A255D #9A2725
triadic
#9A255D #5D9A25 #255D9A
tetradic
#9A255D #989A25 #259A62 #27259A
square
#9A255D #989A25 #259A62 #27259A
split-complementary
#9A255D #259A27 #25989A
monochromatic
#370D21 #69193F #9A255D #CB317B #D9609A

Accessibility & contrast

On white

7.51
#9A255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#9A255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A255D
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A255D#FFFFFF#000000##FFFFFF
##9A255D1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475E
Deuteranopia (green-blind)
#5D5C5A
Tritanopia (blue-blind)
#A7163E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a255d;
/* rgb */ color: rgb(154, 37, 93);
/* oklch */ color: oklch(46.9% 0.160 356.2);
Tailwind
colors: {
  custom: {
    50: '#bc6b8a',
    500: '#9a255d',
    950: '#000000',
  },
}
SCSS
$custom: #9a255d;
$custom-light: #bc6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a255d",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 331.282,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46894,
    "c": 0.15981,
    "h": 356.2
  },
  "luminance": 0.08983
}

Semantic roles & 50–950 ramp

primary
#9A255D
secondary
#5DBE8F
accent
#E49743
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A255D

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

Preview Lab → · Contrast checker → · Palette generator →

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