#9A254B#9A254B

#9A254B is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.3% C 0.154 H 6.3°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9A254B
RGBrgb(154, 37, 75)
HSLhsl(341, 61%, 37%)
HSVhsv(341, 76%, 60%)
CMYKcmyk(0%, 76%, 51.3%, 39.6%)
CIE-LABlab(35.41, 50.17, 6.53)
CIE-LCHlch(35.41, 50.59, 7.42°)
OKLaboklab(46.31% 0.1531 0.017)
OKLCHoklch(46.31% 0.154 6.3)
XYZxyz(15.2593, 8.7033, 7.5316)
Luminance0.0870 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A254B #259A74
analogous
#9A2586 #9A254B #9A3A25
triadic
#9A254B #4B9A25 #254B9A
tetradic
#9A254B #869A25 #259A74 #3A259A
square
#9A254B #869A25 #259A74 #3A259A
split-complementary
#9A254B #259A3A #25869A
monochromatic
#370D1B #691933 #9A254B #CB3163 #D96088

Accessibility & contrast

On white

7.66
#9A254B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#9A254B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A254B
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A254B#FFFFFF#000000##FFFFFF
##9A254B1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42444C
Deuteranopia (green-blind)
#615C48
Tritanopia (blue-blind)
#A80735
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a254b;
/* rgb */ color: rgb(154, 37, 75);
/* oklch */ color: oklch(46.3% 0.154 6.3);
Tailwind
colors: {
  custom: {
    50: '#bd6a7d',
    500: '#9a254b',
    950: '#000000',
  },
}
SCSS
$custom: #9a254b;
$custom-light: #bd6a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9a254b",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 75
  },
  "hsl": {
    "h": 340.513,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4631,
    "c": 0.15406,
    "h": 6.3
  },
  "luminance": 0.08701
}

Semantic roles & 50–950 ramp

primary
#9A254B
secondary
#5DBE9E
accent
#E4B043
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9A254B

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

Preview Lab → · Contrast checker → · Palette generator →

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