#9F257E#9F257E

#9F257E is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.181 H 341.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9F257E
RGBrgb(159, 37, 126)
HSLhsl(316, 62%, 38%)
HSVhsv(316, 77%, 62%)
CMYKcmyk(0%, 76.7%, 20.8%, 37.6%)
CIE-LABlab(38.20, 57.31, -21.58)
CIE-LCHlch(38.20, 61.24, 339.37°)
OKLaboklab(49.13% 0.1718 -0.0581)
OKLCHoklch(49.13% 0.181 341.3)
XYZxyz(18.7261, 10.2023, 20.7177)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F257E #259F46
analogous
#83259F #9F257E #9F2541
triadic
#9F257E #7E9F25 #257E9F
tetradic
#9F257E #9F8325 #259F46 #25419F
square
#9F257E #9F8325 #259F46 #25419F
split-complementary
#9F257E #419F25 #259F83
monochromatic
#3C0E2F #6D1957 #9F257E #CF32A5 #DB64BB

Accessibility & contrast

On white

6.91
#9F257E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F257E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F257E
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F257E#FFFFFF#000000##FFFFFF
##9F257E1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#57617B
Tritanopia (blue-blind)
#A9284F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f257e;
/* rgb */ color: rgb(159, 37, 126);
/* oklch */ color: oklch(49.1% 0.181 341.3);
Tailwind
colors: {
  custom: {
    50: '#bf6da3',
    500: '#9f257e',
    950: '#000000',
  },
}
SCSS
$custom: #9f257e;
$custom-light: #bf6da3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f257e",
  "rgb": {
    "r": 159,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 316.23,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49134,
    "c": 0.18137,
    "h": 341.3
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#9F257E
secondary
#5FC07A
accent
#E56F42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9F257E

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

Preview Lab → · Contrast checker → · Palette generator →

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