#9D237E#9D237E

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

Color values

HEX#9D237E
RGBrgb(157, 35, 126)
HSLhsl(315, 64%, 38%)
HSVhsv(315, 78%, 62%)
CMYKcmyk(0%, 77.7%, 19.7%, 38.4%)
CIE-LABlab(37.62, 57.44, -22.51)
CIE-LCHlch(37.62, 61.69, 338.60°)
OKLaboklab(48.65% 0.1718 -0.0607)
OKLCHoklch(48.65% 0.182 340.5)
XYZxyz(18.2721, 9.8784, 20.6790)
Luminance0.0988 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D237E #239D42
analogous
#7F239D #9D237E #9D2341
triadic
#9D237E #7E9D23 #237E9D
tetradic
#9D237E #9D7F23 #239D42 #23419D
square
#9D237E #9D7F23 #239D42 #23419D
split-complementary
#9D237E #419D23 #239D7F
monochromatic
#390D2E #6B1856 #9D237E #CF2EA6 #DB5FBC

Accessibility & contrast

On white

7.06
#9D237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9D237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9D237E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D237E#FFFFFF#000000##FFFFFF
##9D237E1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4C80
Deuteranopia (green-blind)
#555F7B
Tritanopia (blue-blind)
#A7274E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d237e;
/* rgb */ color: rgb(157, 35, 126);
/* oklch */ color: oklch(48.6% 0.182 340.5);
Tailwind
colors: {
  custom: {
    50: '#be6ca3',
    500: '#9d237e',
    950: '#000000',
  },
}
SCSS
$custom: #9d237e;
$custom-light: #be6ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d237e",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 315.246,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48647,
    "c": 0.18221,
    "h": 340.5
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#9D237E
secondary
#5CC075
accent
#E76B41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D237E

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

Preview Lab → · Contrast checker → · Palette generator →

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