#9D255E#9D255E

#9D255E is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.163 H 356.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9D255E
RGBrgb(157, 37, 94)
HSLhsl(332, 62%, 38%)
HSVhsv(332, 76%, 62%)
CMYKcmyk(0%, 76.4%, 40.1%, 38.4%)
CIE-LABlab(36.56, 52.87, -3.95)
CIE-LCHlch(36.56, 53.02, 355.73°)
OKLaboklab(47.45% 0.1624 -0.0097)
OKLCHoklch(47.45% 0.163 356.6)
XYZxyz(16.5877, 9.3015, 11.5094)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D255E #259D64
analogous
#9D259A #9D255E #9D2825
triadic
#9D255E #5E9D25 #255E9D
tetradic
#9D255E #9A9D25 #259D64 #28259D
square
#9D255E #9A9D25 #259D64 #28259D
split-complementary
#9D255E #259D28 #259A9D
monochromatic
#3A0E23 #6B1940 #9D255E #CE317C #DA629B

Accessibility & contrast

On white

7.34
#9D255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D255E
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D255E#FFFFFF#000000##FFFFFF
##9D255E1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E485F
Deuteranopia (green-blind)
#5F5E5B
Tritanopia (blue-blind)
#AA153E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d255e;
/* rgb */ color: rgb(157, 37, 94);
/* oklch */ color: oklch(47.5% 0.163 356.6);
Tailwind
colors: {
  custom: {
    50: '#bf6b8b',
    500: '#9d255e',
    950: '#000000',
  },
}
SCSS
$custom: #9d255e;
$custom-light: #bf6b8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d255e",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 331.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47451,
    "c": 0.16271,
    "h": 356.6
  },
  "luminance": 0.09299
}

Semantic roles & 50–950 ramp

primary
#9D255E
secondary
#5EBF91
accent
#E59843
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9D255E

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

Preview Lab → · Contrast checker → · Palette generator →

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