#9D237B#9D237B

#9D237B is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.5% C 0.180 H 341.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#9D237B
RGBrgb(157, 35, 123)
HSLhsl(317, 64%, 38%)
HSVhsv(317, 78%, 62%)
CMYKcmyk(0%, 77.7%, 21.7%, 38.4%)
CIE-LABlab(37.48, 57.03, -20.85)
CIE-LCHlch(37.48, 60.72, 339.91°)
OKLaboklab(48.5% 0.1714 -0.056)
OKLCHoklch(48.5% 0.18 341.9)
XYZxyz(18.0814, 9.8021, 19.6748)
Luminance0.0980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D237B #239D45
analogous
#82239D #9D237B #9D233E
triadic
#9D237B #7B9D23 #237B9D
tetradic
#9D237B #9D8223 #239D45 #233E9D
square
#9D237B #9D8223 #239D45 #233E9D
split-complementary
#9D237B #3E9D23 #239D82
monochromatic
#390D2D #6B1854 #9D237B #CF2EA2 #DB5FB9

Accessibility & contrast

On white

7.09
#9D237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#9D237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D237B
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D237B#FFFFFF#000000##FFFFFF
##9D237B1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7D
Deuteranopia (green-blind)
#565F78
Tritanopia (blue-blind)
#A7254D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d237b;
/* rgb */ color: rgb(157, 35, 123);
/* oklch */ color: oklch(48.5% 0.180 341.9);
Tailwind
colors: {
  custom: {
    50: '#be6ca1',
    500: '#9d237b',
    950: '#000000',
  },
}
SCSS
$custom: #9d237b;
$custom-light: #be6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d237b",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 316.721,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48501,
    "c": 0.18028,
    "h": 341.9
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#9D237B
secondary
#5CC078
accent
#E76F41
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13080F
muted
#827A7E

Preview Lab

Preview with #9D237B

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

Preview Lab → · Contrast checker → · Palette generator →

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