#9B254E#9B254E

#9B254E is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.6% C 0.156 H 4.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9B254E
RGBrgb(155, 37, 78)
HSLhsl(339, 61%, 38%)
HSVhsv(339, 76%, 61%)
CMYKcmyk(0%, 76.1%, 49.7%, 39.2%)
CIE-LABlab(35.68, 50.73, 5.01)
CIE-LCHlch(35.68, 50.98, 5.64°)
OKLaboklab(46.58% 0.1551 0.0133)
OKLCHoklch(46.58% 0.156 4.9)
XYZxyz(15.5556, 8.8439, 8.0942)
Luminance0.0884 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B254E #259B72
analogous
#9B2589 #9B254E #9B3725
triadic
#9B254E #4E9B25 #254E9B
tetradic
#9B254E #899B25 #259B72 #37259B
square
#9B254E #899B25 #259B72 #37259B
split-complementary
#9B254E #259B37 #25899B
monochromatic
#380D1C #6A1935 #9B254E #CC3167 #D9618B

Accessibility & contrast

On white

7.59
#9B254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9B254E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9B254E
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B254E#FFFFFF#000000##FFFFFF
##9B254E1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42454F
Deuteranopia (green-blind)
#615C4B
Tritanopia (blue-blind)
#A90936
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9b254e;
/* rgb */ color: rgb(155, 37, 78);
/* oklch */ color: oklch(46.6% 0.156 4.9);
Tailwind
colors: {
  custom: {
    50: '#be6b7f',
    500: '#9b254e',
    950: '#000000',
  },
}
SCSS
$custom: #9b254e;
$custom-light: #be6b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9b254e",
  "rgb": {
    "r": 155,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 339.153,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46575,
    "c": 0.15569,
    "h": 4.9
  },
  "luminance": 0.08842
}

Semantic roles & 50–950 ramp

primary
#9B254E
secondary
#5DBF9D
accent
#E5AD43
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9B254E

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

Preview Lab → · Contrast checker → · Palette generator →

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