#9D235C#9D235C

#9D235C is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.2% C 0.164 H 357.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9D235C
RGBrgb(157, 35, 92)
HSLhsl(332, 64%, 38%)
HSVhsv(332, 78%, 62%)
CMYKcmyk(0%, 77.7%, 41.4%, 38.4%)
CIE-LABlab(36.26, 53.31, -3.10)
CIE-LCHlch(36.26, 53.40, 356.67°)
OKLaboklab(47.21% 0.1639 -0.0075)
OKLCHoklch(47.21% 0.164 357.4)
XYZxyz(16.4386, 9.1450, 11.0226)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D235C #239D64
analogous
#9D2399 #9D235C #9D2723
triadic
#9D235C #5C9D23 #235C9D
tetradic
#9D235C #999D23 #239D64 #27239D
square
#9D235C #999D23 #239D64 #27239D
split-complementary
#9D235C #239D27 #23999D
monochromatic
#390D21 #6B183F #9D235C #CF2E79 #DB5F99

Accessibility & contrast

On white

7.42
#9D235C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9D235C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D235C
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D235C#FFFFFF#000000##FFFFFF
##9D235C1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D475D
Deuteranopia (green-blind)
#5F5E59
Tritanopia (blue-blind)
#AA103C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d235c;
/* rgb */ color: rgb(157, 35, 92);
/* oklch */ color: oklch(47.2% 0.164 357.4);
Tailwind
colors: {
  custom: {
    50: '#bf6b8a',
    500: '#9d235c',
    950: '#000000',
  },
}
SCSS
$custom: #9d235c;
$custom-light: #bf6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d235c",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 92
  },
  "hsl": {
    "h": 331.967,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47211,
    "c": 0.16402,
    "h": 357.4
  },
  "luminance": 0.09143
}

Semantic roles & 50–950 ramp

primary
#9D235C
secondary
#5CC091
accent
#E79941
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D235C

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

Preview Lab → · Contrast checker → · Palette generator →

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