#9F257F#9F257F

#9F257F is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.2% C 0.182 H 340.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#9F257F
RGBrgb(159, 37, 127)
HSLhsl(316, 62%, 38%)
HSVhsv(316, 77%, 62%)
CMYKcmyk(0%, 76.7%, 20.1%, 37.6%)
CIE-LABlab(38.25, 57.45, -22.13)
CIE-LCHlch(38.25, 61.56, 338.93°)
OKLaboklab(49.18% 0.172 -0.0596)
OKLCHoklch(49.18% 0.182 340.9)
XYZxyz(18.7910, 10.2283, 21.0592)
Luminance0.1023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F257F #259F45
analogous
#82259F #9F257F #9F2542
triadic
#9F257F #7F9F25 #257F9F
tetradic
#9F257F #9F8225 #259F45 #25429F
square
#9F257F #9F8225 #259F45 #25429F
split-complementary
#9F257F #429F25 #259F82
monochromatic
#3C0E30 #6D1957 #9F257F #CF32A6 #DB64BC

Accessibility & contrast

On white

6.90
#9F257F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9F257F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F257F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F257F#FFFFFF#000000##FFFFFF
##9F257F1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4E81
Deuteranopia (green-blind)
#57617C
Tritanopia (blue-blind)
#A9284F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f257f;
/* rgb */ color: rgb(159, 37, 127);
/* oklch */ color: oklch(49.2% 0.182 340.9);
Tailwind
colors: {
  custom: {
    50: '#bf6da4',
    500: '#9f257f',
    950: '#000000',
  },
}
SCSS
$custom: #9f257f;
$custom-light: #bf6da4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f257f",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 315.738,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49182,
    "c": 0.18202,
    "h": 340.9
  },
  "luminance": 0.10226
}

Semantic roles & 50–950 ramp

primary
#9F257F
secondary
#5FC079
accent
#E56D42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F257F

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

Preview Lab → · Contrast checker → · Palette generator →

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