#9A236C#9A236C

#9A236C is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.169 H 348.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9A236C
RGBrgb(154, 35, 108)
HSLhsl(323, 63%, 37%)
HSVhsv(323, 77%, 60%)
CMYKcmyk(0%, 77.3%, 29.9%, 39.6%)
CIE-LABlab(36.28, 54.32, -13.32)
CIE-LCHlch(36.28, 55.93, 346.22°)
OKLaboklab(47.32% 0.1657 -0.0351)
OKLCHoklch(47.32% 0.169 348)
XYZxyz(16.6351, 9.1567, 15.0758)
Luminance0.0916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A236C #239A51
analogous
#8D239A #9A236C #9A2331
triadic
#9A236C #6C9A23 #236C9A
tetradic
#9A236C #9A8D23 #239A51 #23319A
square
#9A236C #9A8D23 #239A51 #23319A
split-complementary
#9A236C #319A23 #239A8D
monochromatic
#360C26 #681849 #9A236C #CC2E8F #DA5DAA

Accessibility & contrast

On white

7.42
#9A236C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#9A236C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A236C
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A236C#FFFFFF#000000##FFFFFF
##9A236C1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35486E
Deuteranopia (green-blind)
#595D69
Tritanopia (blue-blind)
#A51D45
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9a236c;
/* rgb */ color: rgb(154, 35, 108);
/* oklch */ color: oklch(47.3% 0.169 348.0);
Tailwind
colors: {
  custom: {
    50: '#bc6b96',
    500: '#9a236c',
    950: '#000000',
  },
}
SCSS
$custom: #9a236c;
$custom-light: #bc6b96;
$custom-dark: #000000;
JSON
{
  "hex": "#9a236c",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 323.193,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47317,
    "c": 0.16932,
    "h": 348
  },
  "luminance": 0.09155
}

Semantic roles & 50–950 ramp

primary
#9A236C
secondary
#5ABF81
accent
#E68142
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#13070D
muted
#827A7E

Preview Lab

Preview with #9A236C

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

Preview Lab → · Contrast checker → · Palette generator →

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