#9D255C#9D255C

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

Color values

HEX#9D255C
RGBrgb(157, 37, 92)
HSLhsl(333, 62%, 38%)
HSVhsv(333, 76%, 62%)
CMYKcmyk(0%, 76.4%, 41.4%, 38.4%)
CIE-LABlab(36.49, 52.66, -2.77)
CIE-LCHlch(36.49, 52.74, 356.99°)
OKLaboklab(47.38% 0.1618 -0.0066)
OKLCHoklch(47.38% 0.162 357.7)
XYZxyz(16.4992, 9.2660, 11.0428)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D255C #259D66
analogous
#9D2598 #9D255C #9D2A25
triadic
#9D255C #5C9D25 #255C9D
tetradic
#9D255C #989D25 #259D66 #2A259D
square
#9D255C #989D25 #259D66 #2A259D
split-complementary
#9D255C #259D2A #25989D
monochromatic
#3A0E22 #6B193F #9D255C #CE3179 #DA6299

Accessibility & contrast

On white

7.36
#9D255C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D255C
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D255C#FFFFFF#000000##FFFFFF
##9D255C1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475D
Deuteranopia (green-blind)
#5F5E59
Tritanopia (blue-blind)
#AA133D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9d255c;
/* rgb */ color: rgb(157, 37, 92);
/* oklch */ color: oklch(47.4% 0.162 357.7);
Tailwind
colors: {
  custom: {
    50: '#bf6b8a',
    500: '#9d255c',
    950: '#000000',
  },
}
SCSS
$custom: #9d255c;
$custom-light: #bf6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d255c",
  "rgb": {
    "r": 157,
    "g": 37,
    "b": 92
  },
  "hsl": {
    "h": 332.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4738,
    "c": 0.16191,
    "h": 357.7
  },
  "luminance": 0.09264
}

Semantic roles & 50–950 ramp

primary
#9D255C
secondary
#5EBF93
accent
#E59B43
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D255C

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

Preview Lab → · Contrast checker → · Palette generator →

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