#9A255E#9A255E

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

Color values

HEX#9A255E
RGBrgb(154, 37, 94)
HSLhsl(331, 61%, 37%)
HSVhsv(331, 76%, 60%)
CMYKcmyk(0%, 76%, 39%, 39.6%)
CIE-LABlab(35.99, 52.03, -4.85)
CIE-LCHlch(35.99, 52.26, 354.67°)
OKLaboklab(46.93% 0.1598 -0.0121)
OKLCHoklch(46.93% 0.16 355.7)
XYZxyz(16.0095, 9.0033, 11.4823)
Luminance0.0900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A255E #259A61
analogous
#9A2599 #9A255E #9A2625
triadic
#9A255E #5E9A25 #255E9A
tetradic
#9A255E #999A25 #259A61 #26259A
square
#9A255E #999A25 #259A61 #26259A
split-complementary
#9A255E #259A26 #25999A
monochromatic
#370D22 #691940 #9A255E #CB317C #D9609B

Accessibility & contrast

On white

7.50
#9A255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A255E
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A255E#FFFFFF#000000##FFFFFF
##9A255E1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C475F
Deuteranopia (green-blind)
#5D5D5B
Tritanopia (blue-blind)
#A7173E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a255e;
/* rgb */ color: rgb(154, 37, 94);
/* oklch */ color: oklch(46.9% 0.160 355.7);
Tailwind
colors: {
  custom: {
    50: '#bc6b8b',
    500: '#9a255e',
    950: '#000000',
  },
}
SCSS
$custom: #9a255e;
$custom-light: #bc6b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a255e",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 330.769,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4693,
    "c": 0.16024,
    "h": 355.7
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#9A255E
secondary
#5DBE8F
accent
#E49643
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9A255E

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

Preview Lab → · Contrast checker → · Palette generator →

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