#9A236E#9A236E

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

Color values

HEX#9A236E
RGBrgb(154, 35, 110)
HSLhsl(322, 63%, 37%)
HSVhsv(322, 77%, 60%)
CMYKcmyk(0%, 77.3%, 28.6%, 39.6%)
CIE-LABlab(36.37, 54.57, -14.46)
CIE-LCHlch(36.37, 56.45, 345.16°)
OKLaboklab(47.4% 0.1661 -0.0382)
OKLCHoklch(47.4% 0.17 347)
XYZxyz(16.7427, 9.1998, 15.6428)
Luminance0.0920 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A236E #239A4F
analogous
#8B239A #9A236E #9A2332
triadic
#9A236E #6E9A23 #236E9A
tetradic
#9A236E #9A8B23 #239A4F #23329A
square
#9A236E #9A8B23 #239A4F #23329A
split-complementary
#9A236E #329A23 #239A8B
monochromatic
#360C27 #68184A #9A236E #CC2E92 #DA5DAC

Accessibility & contrast

On white

7.40
#9A236E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A236E
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A236E#FFFFFF#000000##FFFFFF
##9A236E1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344870
Deuteranopia (green-blind)
#585D6B
Tritanopia (blue-blind)
#A51E46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a236e;
/* rgb */ color: rgb(154, 35, 110);
/* oklch */ color: oklch(47.4% 0.170 347.0);
Tailwind
colors: {
  custom: {
    50: '#bc6b97',
    500: '#9a236e',
    950: '#000000',
  },
}
SCSS
$custom: #9a236e;
$custom-light: #bc6b97;
$custom-dark: #000000;
JSON
{
  "hex": "#9a236e",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 322.185,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47403,
    "c": 0.17044,
    "h": 347
  },
  "luminance": 0.09198
}

Semantic roles & 50–950 ramp

primary
#9A236E
secondary
#5ABF7F
accent
#E67F42
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #9A236E

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

Preview Lab → · Contrast checker → · Palette generator →

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