#9D257C#9D257C

#9D257C is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.179 H 341.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#9D257C
RGBrgb(157, 37, 124)
HSLhsl(317, 62%, 38%)
HSVhsv(317, 76%, 62%)
CMYKcmyk(0%, 76.4%, 21%, 38.4%)
CIE-LABlab(37.75, 56.54, -21.07)
CIE-LCHlch(37.75, 60.34, 339.56°)
OKLaboklab(48.71% 0.1696 -0.0567)
OKLCHoklch(48.71% 0.179 341.5)
XYZxyz(18.2049, 9.9483, 20.0264)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D257C #259D46
analogous
#82259D #9D257C #9D2540
triadic
#9D257C #7C9D25 #257C9D
tetradic
#9D257C #9D8225 #259D46 #25409D
square
#9D257C #9D8225 #259D46 #25409D
split-complementary
#9D257C #409D25 #259D82
monochromatic
#3A0E2E #6B1955 #9D257C #CE31A3 #DA62B9

Accessibility & contrast

On white

7.03
#9D257C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D257C
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D257C#FFFFFF#000000##FFFFFF
##9D257C1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#566079
Tritanopia (blue-blind)
#A7274E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d257c;
/* rgb */ color: rgb(157, 37, 124);
/* oklch */ color: oklch(48.7% 0.179 341.5);
Tailwind
colors: {
  custom: {
    50: '#be6ca2',
    500: '#9d257c',
    950: '#000000',
  },
}
SCSS
$custom: #9d257c;
$custom-light: #be6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d257c",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 124
  },
  "hsl": {
    "h": 316.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48708,
    "c": 0.17881,
    "h": 341.5
  },
  "luminance": 0.09946
}

Semantic roles & 50–950 ramp

primary
#9D257C
secondary
#5EBF79
accent
#E56F43
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D257C

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

Preview Lab → · Contrast checker → · Palette generator →

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