#9A236D#9A236D

#9A236D is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.170 H 347.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#9A236D
RGBrgb(154, 35, 109)
HSLhsl(323, 63%, 37%)
HSVhsv(323, 77%, 60%)
CMYKcmyk(0%, 77.3%, 29.2%, 39.6%)
CIE-LABlab(36.33, 54.44, -13.89)
CIE-LCHlch(36.33, 56.19, 345.68°)
OKLaboklab(47.36% 0.1659 -0.0366)
OKLCHoklch(47.36% 0.17 347.5)
XYZxyz(16.6886, 9.1781, 15.3577)
Luminance0.0918 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A236D #239A50
analogous
#8C239A #9A236D #9A2332
triadic
#9A236D #6D9A23 #236D9A
tetradic
#9A236D #9A8C23 #239A50 #23329A
square
#9A236D #9A8C23 #239A50 #23329A
split-complementary
#9A236D #329A23 #239A8C
monochromatic
#360C26 #68184A #9A236D #CC2E90 #DA5DAB

Accessibility & contrast

On white

7.41
#9A236D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#9A236D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A236D
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A236D#FFFFFF#000000##FFFFFF
##9A236D1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486F
Deuteranopia (green-blind)
#585D6A
Tritanopia (blue-blind)
#A51E45
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a236d;
/* rgb */ color: rgb(154, 35, 109);
/* oklch */ color: oklch(47.4% 0.170 347.5);
Tailwind
colors: {
  custom: {
    50: '#bc6b97',
    500: '#9a236d',
    950: '#000000',
  },
}
SCSS
$custom: #9a236d;
$custom-light: #bc6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9a236d",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 109
  },
  "hsl": {
    "h": 322.689,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4736,
    "c": 0.16988,
    "h": 347.5
  },
  "luminance": 0.09176
}

Semantic roles & 50–950 ramp

primary
#9A236D
secondary
#5ABF80
accent
#E68042
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #9A236D

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

Preview Lab → · Contrast checker → · Palette generator →

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