#9D257F#9D257F

#9D257F is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.181 H 340.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9D257F
RGBrgb(157, 37, 127)
HSLhsl(315, 62%, 38%)
HSVhsv(315, 76%, 62%)
CMYKcmyk(0%, 76.4%, 19.1%, 38.4%)
CIE-LABlab(37.89, 56.95, -22.72)
CIE-LCHlch(37.89, 61.32, 338.25°)
OKLaboklab(48.85% 0.17 -0.0613)
OKLCHoklch(48.85% 0.181 340.2)
XYZxyz(18.3975, 10.0254, 21.0408)
Luminance0.1002 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D257F #259D43
analogous
#7F259D #9D257F #9D2543
triadic
#9D257F #7F9D25 #257F9D
tetradic
#9D257F #9D7F25 #259D43 #25439D
square
#9D257F #9D7F25 #259D43 #25439D
split-complementary
#9D257F #439D25 #259D7F
monochromatic
#3A0E2F #6B1957 #9D257F #CE31A7 #DA62BC

Accessibility & contrast

On white

6.99
#9D257F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#9D257F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D257F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D257F#FFFFFF#000000##FFFFFF
##9D257F1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#A7294F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d257f;
/* rgb */ color: rgb(157, 37, 127);
/* oklch */ color: oklch(48.9% 0.181 340.2);
Tailwind
colors: {
  custom: {
    50: '#be6da4',
    500: '#9d257f',
    950: '#000000',
  },
}
SCSS
$custom: #9d257f;
$custom-light: #be6da4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d257f",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 315,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48853,
    "c": 0.18077,
    "h": 340.2
  },
  "luminance": 0.10024
}

Semantic roles & 50–950 ramp

primary
#9D257F
secondary
#5EBF77
accent
#E56B43
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D257F

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

Preview Lab → · Contrast checker → · Palette generator →

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