#9A237E#9A237E

#9A237E is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.180 H 339.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9A237E
RGBrgb(154, 35, 126)
HSLhsl(314, 63%, 37%)
HSVhsv(314, 77%, 60%)
CMYKcmyk(0%, 77.3%, 18.2%, 39.6%)
CIE-LABlab(37.08, 56.71, -23.40)
CIE-LCHlch(37.08, 61.35, 337.58°)
OKLaboklab(48.15% 0.1689 -0.0633)
OKLCHoklch(48.15% 0.18 339.5)
XYZxyz(17.6938, 9.5802, 20.6519)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A237E #239A3F
analogous
#7B239A #9A237E #9A2342
triadic
#9A237E #7E9A23 #237E9A
tetradic
#9A237E #9A7B23 #239A3F #23429A
square
#9A237E #9A7B23 #239A3F #23429A
split-complementary
#9A237E #429A23 #239A7B
monochromatic
#360C2C #681855 #9A237E #CC2EA7 #DA5DBD

Accessibility & contrast

On white

7.20
#9A237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9A237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A237E
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A237E#FFFFFF#000000##FFFFFF
##9A237E1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4B80
Deuteranopia (green-blind)
#535E7B
Tritanopia (blue-blind)
#A3284E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a237e;
/* rgb */ color: rgb(154, 35, 126);
/* oklch */ color: oklch(48.2% 0.180 339.5);
Tailwind
colors: {
  custom: {
    50: '#bc6ba3',
    500: '#9a237e',
    950: '#000000',
  },
}
SCSS
$custom: #9a237e;
$custom-light: #bc6ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a237e",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 314.118,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48151,
    "c": 0.18037,
    "h": 339.5
  },
  "luminance": 0.09578
}

Semantic roles & 50–950 ramp

primary
#9A237E
secondary
#5ABF72
accent
#E66842
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A237E

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

Preview Lab → · Contrast checker → · Palette generator →

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