#9A255F#9A255F

#9A255F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.0% C 0.161 H 355.1°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#9A255F
RGBrgb(154, 37, 95)
HSLhsl(330, 61%, 37%)
HSVhsv(330, 76%, 60%)
CMYKcmyk(0%, 76%, 38.3%, 39.6%)
CIE-LABlab(36.03, 52.14, -5.44)
CIE-LCHlch(36.03, 52.43, 354.05°)
OKLaboklab(46.97% 0.1601 -0.0137)
OKLCHoklch(46.97% 0.161 355.1)
XYZxyz(16.0546, 9.0214, 11.7201)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A255F #259A60
analogous
#9A259A #9A255F #9A2525
triadic
#9A255F #5F9A25 #255F9A
tetradic
#9A255F #9A9A25 #259A60 #25259A
square
#9A255F #9A9A25 #259A60 #25259A
split-complementary
#9A255F #259A25 #259A9A
monochromatic
#370D22 #691941 #9A255F #CB317D #D9609C

Accessibility & contrast

On white

7.49
#9A255F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A255F
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A255F#FFFFFF#000000##FFFFFF
##9A255F1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4760
Deuteranopia (green-blind)
#5D5D5C
Tritanopia (blue-blind)
#A6173F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a255f;
/* rgb */ color: rgb(154, 37, 95);
/* oklch */ color: oklch(47.0% 0.161 355.1);
Tailwind
colors: {
  custom: {
    50: '#bc6b8c',
    500: '#9a255f',
    950: '#000000',
  },
}
SCSS
$custom: #9a255f;
$custom-light: #bc6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a255f",
  "rgb": {
    "r": 154,
    "g": 37,
    "b": 95
  },
  "hsl": {
    "h": 330.256,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46967,
    "c": 0.16066,
    "h": 355.1
  },
  "luminance": 0.09019
}

Semantic roles & 50–950 ramp

primary
#9A255F
secondary
#5DBE8E
accent
#E49543
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9A255F

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

Preview Lab → · Contrast checker → · Palette generator →

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