#9D255B#9D255B

#9D255B is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.162 H 358.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#9D255B
RGBrgb(157, 37, 91)
HSLhsl(333, 62%, 38%)
HSVhsv(333, 76%, 62%)
CMYKcmyk(0%, 76.4%, 42%, 38.4%)
CIE-LABlab(36.46, 52.56, -2.17)
CIE-LCHlch(36.46, 52.60, 357.63°)
OKLaboklab(47.35% 0.1615 -0.0051)
OKLCHoklch(47.35% 0.162 358.2)
XYZxyz(16.4557, 9.2487, 10.8141)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D255B #259D67
analogous
#9D2597 #9D255B #9D2B25
triadic
#9D255B #5B9D25 #255B9D
tetradic
#9D255B #979D25 #259D67 #2B259D
square
#9D255B #979D25 #259D67 #2B259D
split-complementary
#9D255B #259D2B #25979D
monochromatic
#3A0E22 #6B193E #9D255B #CE3178 #DA6298

Accessibility & contrast

On white

7.37
#9D255B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#9D255B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D255B
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D255B#FFFFFF#000000##FFFFFF
##9D255B1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F475C
Deuteranopia (green-blind)
#605E58
Tritanopia (blue-blind)
#AA123D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d255b;
/* rgb */ color: rgb(157, 37, 91);
/* oklch */ color: oklch(47.3% 0.162 358.2);
Tailwind
colors: {
  custom: {
    50: '#bf6b89',
    500: '#9d255b',
    950: '#000000',
  },
}
SCSS
$custom: #9d255b;
$custom-light: #bf6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#9d255b",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 91
  },
  "hsl": {
    "h": 333,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47345,
    "c": 0.16153,
    "h": 358.2
  },
  "luminance": 0.09247
}

Semantic roles & 50–950 ramp

primary
#9D255B
secondary
#5EBF94
accent
#E59C43
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D255B

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

Preview Lab → · Contrast checker → · Palette generator →

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