#9A254D#9A254D

#9A254D is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.4% C 0.155 H 5.2°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#9A254D
RGBrgb(154, 37, 77)
HSLhsl(339, 61%, 37%)
HSVhsv(339, 76%, 60%)
CMYKcmyk(0%, 76%, 50%, 39.6%)
CIE-LABlab(35.46, 50.35, 5.32)
CIE-LCHlch(35.46, 50.63, 6.03°)
OKLaboklab(46.37% 0.1539 0.014)
OKLCHoklch(46.37% 0.155 5.2)
XYZxyz(15.3289, 8.7311, 7.8978)
Luminance0.0873 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A254D #259A72
analogous
#9A2588 #9A254D #9A3725
triadic
#9A254D #4D9A25 #254D9A
tetradic
#9A254D #889A25 #259A72 #37259A
square
#9A254D #889A25 #259A72 #37259A
split-complementary
#9A254D #259A37 #25889A
monochromatic
#370D1C #691934 #9A254D #CB3166 #D9608A

Accessibility & contrast

On white

7.65
#9A254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#9A254D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A254D
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A254D#FFFFFF#000000##FFFFFF
##9A254D1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41454E
Deuteranopia (green-blind)
#605C4A
Tritanopia (blue-blind)
#A80936
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a254d;
/* rgb */ color: rgb(154, 37, 77);
/* oklch */ color: oklch(46.4% 0.155 5.2);
Tailwind
colors: {
  custom: {
    50: '#bd6a7e',
    500: '#9a254d',
    950: '#000000',
  },
}
SCSS
$custom: #9a254d;
$custom-light: #bd6a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a254d",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 339.487,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46368,
    "c": 0.15453,
    "h": 5.2
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#9A254D
secondary
#5DBE9D
accent
#E4AD43
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A254D

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

Preview Lab → · Contrast checker → · Palette generator →

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