#9D254A#9D254A

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

Color values

HEX#9D254A
RGBrgb(157, 37, 74)
HSLhsl(342, 62%, 38%)
HSVhsv(342, 76%, 62%)
CMYKcmyk(0%, 76.4%, 52.9%, 38.4%)
CIE-LABlab(35.96, 50.97, 8.04)
CIE-LCHlch(35.96, 51.61, 8.97°)
OKLaboklab(46.82% 0.1553 0.0207)
OKLCHoklch(46.82% 0.157 7.6)
XYZxyz(15.8037, 8.9878, 7.3799)
Luminance0.0899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D254A #259D78
analogous
#9D2586 #9D254A #9D3C25
triadic
#9D254A #4A9D25 #254A9D
tetradic
#9D254A #869D25 #259D78 #3C259D
square
#9D254A #869D25 #259D78 #3C259D
split-complementary
#9D254A #259D3C #25869D
monochromatic
#3A0E1B #6B1933 #9D254A #CE3161 #DA6287

Accessibility & contrast

On white

7.51
#9D254A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D254A
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D254A#FFFFFF#000000##FFFFFF
##9D254A1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43454B
Deuteranopia (green-blind)
#635D47
Tritanopia (blue-blind)
#AB0335
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d254a;
/* rgb */ color: rgb(157, 37, 74);
/* oklch */ color: oklch(46.8% 0.157 7.6);
Tailwind
colors: {
  custom: {
    50: '#c06b7c',
    500: '#9d254a',
    950: '#000000',
  },
}
SCSS
$custom: #9d254a;
$custom-light: #c06b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d254a",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 74
  },
  "hsl": {
    "h": 341.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46816,
    "c": 0.15668,
    "h": 7.6
  },
  "luminance": 0.08986
}

Semantic roles & 50–950 ramp

primary
#9D254A
secondary
#5EBFA2
accent
#E5B343
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9D254A

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

Preview Lab → · Contrast checker → · Palette generator →

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