#9D237F#9D237F

#9D237F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.7% C 0.183 H 340.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9D237F
RGBrgb(157, 35, 127)
HSLhsl(315, 64%, 38%)
HSVhsv(315, 78%, 62%)
CMYKcmyk(0%, 77.7%, 19.1%, 38.4%)
CIE-LABlab(37.67, 57.58, -23.06)
CIE-LCHlch(37.67, 62.02, 338.18°)
OKLaboklab(48.7% 0.1719 -0.0623)
OKLCHoklch(48.7% 0.183 340.1)
XYZxyz(18.3370, 9.9043, 21.0206)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D237F #239D41
analogous
#7E239D #9D237F #9D2342
triadic
#9D237F #7F9D23 #237F9D
tetradic
#9D237F #9D7E23 #239D41 #23429D
square
#9D237F #9D7E23 #239D41 #23429D
split-complementary
#9D237F #429D23 #239D7E
monochromatic
#390D2E #6B1857 #9D237F #CF2EA7 #DB5FBD

Accessibility & contrast

On white

7.05
#9D237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D237F
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D237F#FFFFFF#000000##FFFFFF
##9D237F1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4C81
Deuteranopia (green-blind)
#55607C
Tritanopia (blue-blind)
#A7274F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d237f;
/* rgb */ color: rgb(157, 35, 127);
/* oklch */ color: oklch(48.7% 0.183 340.1);
Tailwind
colors: {
  custom: {
    50: '#be6ca4',
    500: '#9d237f',
    950: '#000000',
  },
}
SCSS
$custom: #9d237f;
$custom-light: #be6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d237f",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 314.754,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48696,
    "c": 0.18287,
    "h": 340.1
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#9D237F
secondary
#5CC074
accent
#E76A41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D237F

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

Preview Lab → · Contrast checker → · Palette generator →

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