#9D254C#9D254C

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

Color values

HEX#9D254C
RGBrgb(157, 37, 76)
HSLhsl(341, 62%, 38%)
HSVhsv(341, 76%, 62%)
CMYKcmyk(0%, 76.4%, 51.6%, 38.4%)
CIE-LABlab(36.01, 51.14, 6.83)
CIE-LCHlch(36.01, 51.60, 7.60°)
OKLaboklab(46.87% 0.1561 0.0178)
OKLCHoklch(46.87% 0.157 6.5)
XYZxyz(15.8721, 9.0152, 7.7404)
Luminance0.0901 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D254C #259D76
analogous
#9D2588 #9D254C #9D3A25
triadic
#9D254C #4C9D25 #254C9D
tetradic
#9D254C #889D25 #259D76 #3A259D
square
#9D254C #889D25 #259D76 #3A259D
split-complementary
#9D254C #259D3A #25889D
monochromatic
#3A0E1C #6B1934 #9D254C #CE3164 #DA6289

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D254C#FFFFFF#000000##FFFFFF
##9D254C1.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)
#43454D
Deuteranopia (green-blind)
#625D49
Tritanopia (blue-blind)
#AB0536
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d254c;
/* rgb */ color: rgb(157, 37, 76);
/* oklch */ color: oklch(46.9% 0.157 6.5);
Tailwind
colors: {
  custom: {
    50: '#c06b7d',
    500: '#9d254c',
    950: '#000000',
  },
}
SCSS
$custom: #9d254c;
$custom-light: #c06b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d254c",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 340.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46872,
    "c": 0.15708,
    "h": 6.5
  },
  "luminance": 0.09013
}

Semantic roles & 50–950 ramp

primary
#9D254C
secondary
#5EBFA0
accent
#E5B043
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D254C

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

Preview Lab → · Contrast checker → · Palette generator →

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