#9D236F#9D236F

#9D236F is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.173 H 347.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9D236F
RGBrgb(157, 35, 111)
HSLhsl(323, 64%, 38%)
HSVhsv(323, 78%, 62%)
CMYKcmyk(0%, 77.7%, 29.3%, 38.4%)
CIE-LABlab(36.97, 55.47, -14.13)
CIE-LCHlch(36.97, 57.24, 345.71°)
OKLaboklab(47.96% 0.1691 -0.0372)
OKLCHoklch(47.96% 0.173 347.6)
XYZxyz(17.3758, 9.5198, 15.9583)
Luminance0.0952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D236F #239D51
analogous
#8E239D #9D236F #9D2332
triadic
#9D236F #6F9D23 #236F9D
tetradic
#9D236F #9D8E23 #239D51 #23329D
square
#9D236F #9D8E23 #239D51 #23329D
split-complementary
#9D236F #329D23 #239D8E
monochromatic
#390D28 #6B184C #9D236F #CF2E92 #DB5FAC

Accessibility & contrast

On white

7.23
#9D236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9D236F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D236F
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D236F#FFFFFF#000000##FFFFFF
##9D236F1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A71
Deuteranopia (green-blind)
#5A5F6C
Tritanopia (blue-blind)
#A81E46
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9d236f;
/* rgb */ color: rgb(157, 35, 111);
/* oklch */ color: oklch(48.0% 0.173 347.6);
Tailwind
colors: {
  custom: {
    50: '#be6b98',
    500: '#9d236f',
    950: '#000000',
  },
}
SCSS
$custom: #9d236f;
$custom-light: #be6b98;
$custom-dark: #000000;
JSON
{
  "hex": "#9d236f",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 322.623,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47956,
    "c": 0.17312,
    "h": 347.6
  },
  "luminance": 0.09518
}

Semantic roles & 50–950 ramp

primary
#9D236F
secondary
#5CC082
accent
#E78041
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9D236F

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

Preview Lab → · Contrast checker → · Palette generator →

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