#9A285F#9A285F

#9A285F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.2% C 0.157 H 355.5°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#9A285F
RGBrgb(154, 40, 95)
HSLhsl(331, 59%, 38%)
HSVhsv(331, 74%, 60%)
CMYKcmyk(0%, 74%, 38.3%, 39.6%)
CIE-LABlab(36.40, 51.10, -4.89)
CIE-LCHlch(36.40, 51.33, 354.54°)
OKLaboklab(47.24% 0.1568 -0.0122)
OKLCHoklch(47.24% 0.157 355.5)
XYZxyz(16.1518, 9.2158, 11.7525)
Luminance0.0921 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A285F #289A63
analogous
#9A2898 #9A285F #9A2A28
triadic
#9A285F #5F9A28 #285F9A
tetradic
#9A285F #989A28 #289A63 #2A289A
square
#9A285F #989A28 #289A63 #2A289A
split-complementary
#9A285F #289A2A #28989A
monochromatic
#390F23 #691B41 #9A285F #CA357D #D7659C

Accessibility & contrast

On white

7.39
#9A285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9A285F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A285F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A285F#FFFFFF#000000##FFFFFF
##9A285F1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4860
Deuteranopia (green-blind)
#5E5D5C
Tritanopia (blue-blind)
#A61C40
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a285f;
/* rgb */ color: rgb(154, 40, 95);
/* oklch */ color: oklch(47.2% 0.157 355.5);
Tailwind
colors: {
  custom: {
    50: '#bc6c8c',
    500: '#9a285f',
    950: '#000000',
  },
}
SCSS
$custom: #9a285f;
$custom-light: #bc6c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9a285f",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 331.053,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47239,
    "c": 0.15725,
    "h": 355.5
  },
  "luminance": 0.09214
}

Semantic roles & 50–950 ramp

primary
#9A285F
secondary
#61BD91
accent
#E29746
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9A285F

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

Preview Lab → · Contrast checker → · Palette generator →

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