#9A237C#9A237C

#9A237C is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.179 H 340.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9A237C
RGBrgb(154, 35, 124)
HSLhsl(315, 63%, 37%)
HSVhsv(315, 77%, 60%)
CMYKcmyk(0%, 77.3%, 19.5%, 39.6%)
CIE-LABlab(36.98, 56.43, -22.30)
CIE-LCHlch(36.98, 60.67, 338.44°)
OKLaboklab(48.05% 0.1686 -0.0602)
OKLCHoklch(48.05% 0.179 340.4)
XYZxyz(17.5661, 9.5291, 19.9791)
Luminance0.0953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A237C #239A41
analogous
#7D239A #9A237C #9A2341
triadic
#9A237C #7C9A23 #237C9A
tetradic
#9A237C #9A7D23 #239A41 #23419A
square
#9A237C #9A7D23 #239A41 #23419A
split-complementary
#9A237C #419A23 #239A7D
monochromatic
#360C2C #681854 #9A237C #CC2EA4 #DA5DBB

Accessibility & contrast

On white

7.23
#9A237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#9A237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A237C
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A237C#FFFFFF#000000##FFFFFF
##9A237C1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4B7E
Deuteranopia (green-blind)
#535E79
Tritanopia (blue-blind)
#A3274D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a237c;
/* rgb */ color: rgb(154, 35, 124);
/* oklch */ color: oklch(48.1% 0.179 340.4);
Tailwind
colors: {
  custom: {
    50: '#bc6ba2',
    500: '#9a237c',
    950: '#000000',
  },
}
SCSS
$custom: #9a237c;
$custom-light: #bc6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a237c",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 315.126,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48052,
    "c": 0.17905,
    "h": 340.4
  },
  "luminance": 0.09527
}

Semantic roles & 50–950 ramp

primary
#9A237C
secondary
#5ABF73
accent
#E66B42
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A237C

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

Preview Lab → · Contrast checker → · Palette generator →

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