#9D255D#9D255D

#9D255D is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.4% C 0.162 H 357.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#9D255D
RGBrgb(157, 37, 93)
HSLhsl(332, 62%, 38%)
HSVhsv(332, 76%, 62%)
CMYKcmyk(0%, 76.4%, 40.8%, 38.4%)
CIE-LABlab(36.52, 52.77, -3.36)
CIE-LCHlch(36.52, 52.87, 356.36°)
OKLaboklab(47.42% 0.1621 -0.0082)
OKLCHoklch(47.42% 0.162 357.1)
XYZxyz(16.5432, 9.2836, 11.2746)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D255D #259D65
analogous
#9D2599 #9D255D #9D2925
triadic
#9D255D #5D9D25 #255D9D
tetradic
#9D255D #999D25 #259D65 #29259D
square
#9D255D #999D25 #259D65 #29259D
split-complementary
#9D255D #259D29 #25999D
monochromatic
#3A0E22 #6B1940 #9D255D #CE317A #DA629A

Accessibility & contrast

On white

7.35
#9D255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9D255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D255D
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D255D#FFFFFF#000000##FFFFFF
##9D255D1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E485E
Deuteranopia (green-blind)
#5F5E5A
Tritanopia (blue-blind)
#AA143E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d255d;
/* rgb */ color: rgb(157, 37, 93);
/* oklch */ color: oklch(47.4% 0.162 357.1);
Tailwind
colors: {
  custom: {
    50: '#bf6b8a',
    500: '#9d255d',
    950: '#000000',
  },
}
SCSS
$custom: #9d255d;
$custom-light: #bf6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d255d",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 332,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47415,
    "c": 0.16231,
    "h": 357.1
  },
  "luminance": 0.09282
}

Semantic roles & 50–950 ramp

primary
#9D255D
secondary
#5EBF92
accent
#E59943
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D255D

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

Preview Lab → · Contrast checker → · Palette generator →

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