#9C254D#9C254D

#9C254D is a mid, vivid pink. Relative luminance 0.089; OKLCH L 46.7% C 0.156 H 5.7°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#9C254D
RGBrgb(156, 37, 77)
HSLhsl(340, 62%, 38%)
HSVhsv(340, 76%, 61%)
CMYKcmyk(0%, 76.3%, 50.6%, 38.8%)
CIE-LABlab(35.85, 50.94, 5.92)
CIE-LCHlch(35.85, 51.28, 6.63°)
OKLaboklab(46.72% 0.1556 0.0155)
OKLCHoklch(46.72% 0.156 5.7)
XYZxyz(15.7128, 8.9290, 7.9158)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C254D #259C74
analogous
#9C2588 #9C254D #9C3825
triadic
#9C254D #4D9C25 #254D9C
tetradic
#9C254D #889C25 #259C74 #38259C
square
#9C254D #889C25 #259C74 #38259C
split-complementary
#9C254D #259C38 #25889C
monochromatic
#390E1C #6B1935 #9C254D #CD3165 #DA628A

Accessibility & contrast

On white

7.54
#9C254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#9C254D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9C254D
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C254D#FFFFFF#000000##FFFFFF
##9C254D1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42454E
Deuteranopia (green-blind)
#625D4A
Tritanopia (blue-blind)
#AA0736
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9c254d;
/* rgb */ color: rgb(156, 37, 77);
/* oklch */ color: oklch(46.7% 0.156 5.7);
Tailwind
colors: {
  custom: {
    50: '#bf6b7e',
    500: '#9c254d',
    950: '#000000',
  },
}
SCSS
$custom: #9c254d;
$custom-light: #bf6b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c254d",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 339.832,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46723,
    "c": 0.15637,
    "h": 5.7
  },
  "luminance": 0.08927
}

Semantic roles & 50–950 ramp

primary
#9C254D
secondary
#5EBF9E
accent
#E5AE43
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9C254D

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

Preview Lab → · Contrast checker → · Palette generator →

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