#9D257E#9D257E

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

Color values

HEX#9D257E
RGBrgb(157, 37, 126)
HSLhsl(316, 62%, 38%)
HSVhsv(316, 76%, 62%)
CMYKcmyk(0%, 76.4%, 19.7%, 38.4%)
CIE-LABlab(37.84, 56.81, -22.17)
CIE-LCHlch(37.84, 60.99, 338.68°)
OKLaboklab(48.8% 0.1699 -0.0598)
OKLCHoklch(48.8% 0.18 340.6)
XYZxyz(18.3326, 9.9994, 20.6992)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D257E #259D44
analogous
#80259D #9D257E #9D2542
triadic
#9D257E #7E9D25 #257E9D
tetradic
#9D257E #9D8025 #259D44 #25429D
square
#9D257E #9D8025 #259D44 #25429D
split-complementary
#9D257E #429D25 #259D80
monochromatic
#3A0E2F #6B1956 #9D257E #CE31A6 #DA62BB

Accessibility & contrast

On white

7.00
#9D257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D257E
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D257E#FFFFFF#000000##FFFFFF
##9D257E1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#56607B
Tritanopia (blue-blind)
#A7284F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d257e;
/* rgb */ color: rgb(157, 37, 126);
/* oklch */ color: oklch(48.8% 0.180 340.6);
Tailwind
colors: {
  custom: {
    50: '#be6ca3',
    500: '#9d257e',
    950: '#000000',
  },
}
SCSS
$custom: #9d257e;
$custom-light: #be6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d257e",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 315.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48804,
    "c": 0.18011,
    "h": 340.6
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D257E

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

Preview Lab → · Contrast checker → · Palette generator →

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