#9C254F#9C254F

#9C254F is a mid, vivid pink. Relative luminance 0.090; OKLCH L 46.8% C 0.157 H 4.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#9C254F
RGBrgb(156, 37, 79)
HSLhsl(339, 62%, 38%)
HSVhsv(339, 76%, 61%)
CMYKcmyk(0%, 76.3%, 49.4%, 38.8%)
CIE-LABlab(35.90, 51.11, 4.71)
CIE-LCHlch(35.90, 51.33, 5.26°)
OKLaboklab(46.78% 0.1564 0.0125)
OKLCHoklch(46.78% 0.157 4.6)
XYZxyz(15.7845, 8.9577, 8.2934)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C254F #259C72
analogous
#9C258A #9C254F #9C3725
triadic
#9C254F #4F9C25 #254F9C
tetradic
#9C254F #8A9C25 #259C72 #37259C
square
#9C254F #8A9C25 #259C72 #37259C
split-complementary
#9C254F #259C37 #258A9C
monochromatic
#390E1D #6B1936 #9C254F #CD3168 #DA628C

Accessibility & contrast

On white

7.52
#9C254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9C254F
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C254F#FFFFFF#000000##FFFFFF
##9C254F1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424550
Deuteranopia (green-blind)
#615D4C
Tritanopia (blue-blind)
#AA0937
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9c254f;
/* rgb */ color: rgb(156, 37, 79);
/* oklch */ color: oklch(46.8% 0.157 4.6);
Tailwind
colors: {
  custom: {
    50: '#bf6b80',
    500: '#9c254f',
    950: '#000000',
  },
}
SCSS
$custom: #9c254f;
$custom-light: #bf6b80;
$custom-dark: #000000;
JSON
{
  "hex": "#9c254f",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 338.824,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46782,
    "c": 0.15686,
    "h": 4.6
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#9C254F
secondary
#5EBF9D
accent
#E5AC43
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9C254F

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

Preview Lab → · Contrast checker → · Palette generator →

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