#9D257D#9D257D

#9D257D is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.8% C 0.179 H 341.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9D257D
RGBrgb(157, 37, 125)
HSLhsl(316, 62%, 38%)
HSVhsv(316, 76%, 62%)
CMYKcmyk(0%, 76.4%, 20.4%, 38.4%)
CIE-LABlab(37.80, 56.68, -21.62)
CIE-LCHlch(37.80, 60.66, 339.12°)
OKLaboklab(48.76% 0.1698 -0.0582)
OKLCHoklch(48.76% 0.179 341.1)
XYZxyz(18.2684, 9.9738, 20.3611)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D257D #259D45
analogous
#81259D #9D257D #9D2541
triadic
#9D257D #7D9D25 #257D9D
tetradic
#9D257D #9D8125 #259D45 #25419D
square
#9D257D #9D8125 #259D45 #25419D
split-complementary
#9D257D #419D25 #259D81
monochromatic
#3A0E2E #6B1956 #9D257D #CE31A4 #DA62BA

Accessibility & contrast

On white

7.01
#9D257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9D257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D257D
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D257D#FFFFFF#000000##FFFFFF
##9D257D1.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D7F
Deuteranopia (green-blind)
#56607A
Tritanopia (blue-blind)
#A7284E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d257d;
/* rgb */ color: rgb(157, 37, 125);
/* oklch */ color: oklch(48.8% 0.179 341.1);
Tailwind
colors: {
  custom: {
    50: '#be6ca3',
    500: '#9d257d',
    950: '#000000',
  },
}
SCSS
$custom: #9d257d;
$custom-light: #be6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d257d",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 316,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48756,
    "c": 0.17946,
    "h": 341.1
  },
  "luminance": 0.09972
}

Semantic roles & 50–950 ramp

primary
#9D257D
secondary
#5EBF78
accent
#E56E43
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D257D

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

Preview Lab → · Contrast checker → · Palette generator →

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