#9A237A#9A237A

#9A237A is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.0% C 0.178 H 341.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9A237A
RGBrgb(154, 35, 122)
HSLhsl(316, 63%, 37%)
HSVhsv(316, 77%, 60%)
CMYKcmyk(0%, 77.3%, 20.8%, 39.6%)
CIE-LABlab(36.89, 56.15, -21.19)
CIE-LCHlch(36.89, 60.02, 339.32°)
OKLaboklab(47.96% 0.1683 -0.0571)
OKLCHoklch(47.96% 0.178 341.3)
XYZxyz(17.4409, 9.4790, 19.3197)
Luminance0.0948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A237A #239A43
analogous
#7E239A #9A237A #9A233F
triadic
#9A237A #7A9A23 #237A9A
tetradic
#9A237A #9A7E23 #239A43 #233F9A
square
#9A237A #9A7E23 #239A43 #233F9A
split-complementary
#9A237A #3F9A23 #239A7E
monochromatic
#360C2B #681852 #9A237A #CC2EA2 #DA5DB9

Accessibility & contrast

On white

7.25
#9A237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#9A237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A237A
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A237A#FFFFFF#000000##FFFFFF
##9A237A1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4B7C
Deuteranopia (green-blind)
#545E77
Tritanopia (blue-blind)
#A4264C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a237a;
/* rgb */ color: rgb(154, 35, 122);
/* oklch */ color: oklch(48.0% 0.178 341.3);
Tailwind
colors: {
  custom: {
    50: '#bc6ba0',
    500: '#9a237a',
    950: '#000000',
  },
}
SCSS
$custom: #9a237a;
$custom-light: #bc6ba0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a237a",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 316.134,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47955,
    "c": 0.17775,
    "h": 341.3
  },
  "luminance": 0.09477
}

Semantic roles & 50–950 ramp

primary
#9A237A
secondary
#5ABF75
accent
#E66E42
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #9A237A

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

Preview Lab → · Contrast checker → · Palette generator →

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