#9D237D#9D237D

#9D237D is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.6% C 0.182 H 341.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9D237D
RGBrgb(157, 35, 125)
HSLhsl(316, 64%, 38%)
HSVhsv(316, 78%, 62%)
CMYKcmyk(0%, 77.7%, 20.4%, 38.4%)
CIE-LABlab(37.58, 57.30, -21.96)
CIE-LCHlch(37.58, 61.36, 339.03°)
OKLaboklab(48.6% 0.1717 -0.0592)
OKLCHoklch(48.6% 0.182 341)
XYZxyz(18.2079, 9.8527, 20.3409)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D237D #239D43
analogous
#80239D #9D237D #9D2340
triadic
#9D237D #7D9D23 #237D9D
tetradic
#9D237D #9D8023 #239D43 #23409D
square
#9D237D #9D8023 #239D43 #23409D
split-complementary
#9D237D #409D23 #239D80
monochromatic
#390D2D #6B1855 #9D237D #CF2EA5 #DB5FBB

Accessibility & contrast

On white

7.07
#9D237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9D237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D237D
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D237D#FFFFFF#000000##FFFFFF
##9D237D1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7F
Deuteranopia (green-blind)
#555F7A
Tritanopia (blue-blind)
#A7264E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d237d;
/* rgb */ color: rgb(157, 35, 125);
/* oklch */ color: oklch(48.6% 0.182 341.0);
Tailwind
colors: {
  custom: {
    50: '#be6ca3',
    500: '#9d237d',
    950: '#000000',
  },
}
SCSS
$custom: #9d237d;
$custom-light: #be6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d237d",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 315.738,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48598,
    "c": 0.18156,
    "h": 341
  },
  "luminance": 0.09851
}

Semantic roles & 50–950 ramp

primary
#9D237D
secondary
#5CC076
accent
#E76D41
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D237D

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

Preview Lab → · Contrast checker → · Palette generator →

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