#9D256F#9D256F

#9D256F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.171 H 347.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9D256F
RGBrgb(157, 37, 111)
HSLhsl(323, 62%, 38%)
HSVhsv(323, 76%, 62%)
CMYKcmyk(0%, 76.4%, 29.3%, 38.4%)
CIE-LABlab(37.19, 54.84, -13.79)
CIE-LCHlch(37.19, 56.54, 345.89°)
OKLaboklab(48.12% 0.1671 -0.0363)
OKLCHoklch(48.12% 0.171 347.7)
XYZxyz(17.4363, 9.6409, 15.9785)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D256F #259D53
analogous
#8F259D #9D256F #9D2533
triadic
#9D256F #6F9D25 #256F9D
tetradic
#9D256F #9D8F25 #259D53 #25339D
square
#9D256F #9D8F25 #259D53 #25339D
split-complementary
#9D256F #339D25 #259D8F
monochromatic
#3A0E29 #6B194C #9D256F #CE3192 #DA62AC

Accessibility & contrast

On white

7.17
#9D256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#9D256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D256F
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D256F#FFFFFF#000000##FFFFFF
##9D256F1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374A71
Deuteranopia (green-blind)
#5B5F6C
Tritanopia (blue-blind)
#A82047
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d256f;
/* rgb */ color: rgb(157, 37, 111);
/* oklch */ color: oklch(48.1% 0.171 347.7);
Tailwind
colors: {
  custom: {
    50: '#be6c98',
    500: '#9d256f',
    950: '#000000',
  },
}
SCSS
$custom: #9d256f;
$custom-light: #be6c98;
$custom-dark: #000000;
JSON
{
  "hex": "#9d256f",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 323,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48119,
    "c": 0.17098,
    "h": 347.7
  },
  "luminance": 0.09639
}

Semantic roles & 50–950 ramp

primary
#9D256F
secondary
#5EBF84
accent
#E58143
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #9D256F

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

Preview Lab → · Contrast checker → · Palette generator →

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