#9D237C#9D237C

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

Color values

HEX#9D237C
RGBrgb(157, 35, 124)
HSLhsl(316, 64%, 38%)
HSVhsv(316, 78%, 62%)
CMYKcmyk(0%, 77.7%, 21%, 38.4%)
CIE-LABlab(37.53, 57.16, -21.41)
CIE-LCHlch(37.53, 61.04, 339.47°)
OKLaboklab(48.55% 0.1715 -0.0576)
OKLCHoklch(48.55% 0.181 341.4)
XYZxyz(18.1444, 9.8273, 20.0062)
Luminance0.0983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D237C #239D44
analogous
#81239D #9D237C #9D233F
triadic
#9D237C #7C9D23 #237C9D
tetradic
#9D237C #9D8123 #239D44 #233F9D
square
#9D237C #9D8123 #239D44 #233F9D
split-complementary
#9D237C #3F9D23 #239D81
monochromatic
#390D2D #6B1854 #9D237C #CF2EA4 #DB5FBA

Accessibility & contrast

On white

7.08
#9D237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9D237C
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D237C#FFFFFF#000000##FFFFFF
##9D237C1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C7E
Deuteranopia (green-blind)
#565F79
Tritanopia (blue-blind)
#A7264D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9d237c;
/* rgb */ color: rgb(157, 35, 124);
/* oklch */ color: oklch(48.5% 0.181 341.4);
Tailwind
colors: {
  custom: {
    50: '#be6ca2',
    500: '#9d237c',
    950: '#000000',
  },
}
SCSS
$custom: #9d237c;
$custom-light: #be6ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d237c",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 316.23,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48549,
    "c": 0.18092,
    "h": 341.4
  },
  "luminance": 0.09825
}

Semantic roles & 50–950 ramp

primary
#9D237C
secondary
#5CC077
accent
#E76E41
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#13080F
muted
#827A7F

Preview Lab

Preview with #9D237C

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

Preview Lab → · Contrast checker → · Palette generator →

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