#9A236F#9A236F

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

Color values

HEX#9A236F
RGBrgb(154, 35, 111)
HSLhsl(322, 63%, 37%)
HSVhsv(322, 77%, 60%)
CMYKcmyk(0%, 77.3%, 27.9%, 39.6%)
CIE-LABlab(36.41, 54.69, -15.03)
CIE-LCHlch(36.41, 56.72, 344.63°)
OKLaboklab(47.45% 0.1663 -0.0398)
OKLCHoklch(47.45% 0.171 346.5)
XYZxyz(16.7975, 9.2217, 15.9312)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A236F #239A4E
analogous
#8A239A #9A236F #9A2333
triadic
#9A236F #6F9A23 #236F9A
tetradic
#9A236F #9A8A23 #239A4E #23339A
square
#9A236F #9A8A23 #239A4E #23339A
split-complementary
#9A236F #339A23 #239A8A
monochromatic
#360C27 #68184B #9A236F #CC2E93 #DA5DAD

Accessibility & contrast

On white

7.38
#9A236F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A236F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A236F#FFFFFF#000000##FFFFFF
##9A236F1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344971
Deuteranopia (green-blind)
#585D6C
Tritanopia (blue-blind)
#A51F46
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a236f;
/* rgb */ color: rgb(154, 35, 111);
/* oklch */ color: oklch(47.4% 0.171 346.5);
Tailwind
colors: {
  custom: {
    50: '#bc6b98',
    500: '#9a236f',
    950: '#000000',
  },
}
SCSS
$custom: #9a236f;
$custom-light: #bc6b98;
$custom-dark: #000000;
JSON
{
  "hex": "#9a236f",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 321.681,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47447,
    "c": 0.17101,
    "h": 346.5
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#9A236F
secondary
#5ABF7E
accent
#E67D42
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070D
muted
#817A7E

Preview Lab

Preview with #9A236F

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

Preview Lab → · Contrast checker → · Palette generator →

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