#9D235B#9D235B

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

Color values

HEX#9D235B
RGBrgb(157, 35, 91)
HSLhsl(332, 64%, 38%)
HSVhsv(332, 78%, 62%)
CMYKcmyk(0%, 77.7%, 42%, 38.4%)
CIE-LABlab(36.23, 53.21, -2.51)
CIE-LCHlch(36.23, 53.27, 357.30°)
OKLaboklab(47.18% 0.1635 -0.0059)
OKLCHoklch(47.18% 0.164 357.9)
XYZxyz(16.3952, 9.1276, 10.7939)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D235B #239D65
analogous
#9D2398 #9D235B #9D2823
triadic
#9D235B #5B9D23 #235B9D
tetradic
#9D235B #989D23 #239D65 #28239D
square
#9D235B #989D23 #239D65 #28239D
split-complementary
#9D235B #239D28 #23989D
monochromatic
#390D21 #6B183E #9D235B #CF2E78 #DB5F98

Accessibility & contrast

On white

7.43
#9D235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D235B
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D235B#FFFFFF#000000##FFFFFF
##9D235B1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475C
Deuteranopia (green-blind)
#5F5E58
Tritanopia (blue-blind)
#AA0F3C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9d235b;
/* rgb */ color: rgb(157, 35, 91);
/* oklch */ color: oklch(47.2% 0.164 357.9);
Tailwind
colors: {
  custom: {
    50: '#bf6a89',
    500: '#9d235b',
    950: '#000000',
  },
}
SCSS
$custom: #9d235b;
$custom-light: #bf6a89;
$custom-dark: #000000;
JSON
{
  "hex": "#9d235b",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 332.459,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47176,
    "c": 0.16363,
    "h": 357.9
  },
  "luminance": 0.09125
}

Semantic roles & 50–950 ramp

primary
#9D235B
secondary
#5CC092
accent
#E79B41
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9D235B

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

Preview Lab → · Contrast checker → · Palette generator →

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