#9A235B#9A235B

#9A235B is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.161 H 357.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#9A235B
RGBrgb(154, 35, 91)
HSLhsl(332, 63%, 37%)
HSVhsv(332, 77%, 60%)
CMYKcmyk(0%, 77.3%, 40.9%, 39.6%)
CIE-LABlab(35.65, 52.37, -3.43)
CIE-LCHlch(35.65, 52.49, 356.26°)
OKLaboklab(46.65% 0.1609 -0.0083)
OKLCHoklch(46.65% 0.161 357)
XYZxyz(15.8169, 8.8294, 10.7668)
Luminance0.0883 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A235B #239A62
analogous
#9A2397 #9A235B #9A2723
triadic
#9A235B #5B9A23 #235B9A
tetradic
#9A235B #979A23 #239A62 #27239A
square
#9A235B #979A23 #239A62 #27239A
split-complementary
#9A235B #239A27 #23979A
monochromatic
#360C20 #68183E #9A235B #CC2E78 #DA5D98

Accessibility & contrast

On white

7.59
#9A235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#9A235B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A235B
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A235B#FFFFFF#000000##FFFFFF
##9A235B1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465C
Deuteranopia (green-blind)
#5D5C58
Tritanopia (blue-blind)
#A7113C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a235b;
/* rgb */ color: rgb(154, 35, 91);
/* oklch */ color: oklch(46.7% 0.161 357.0);
Tailwind
colors: {
  custom: {
    50: '#bd6a89',
    500: '#9a235b',
    950: '#000000',
  },
}
SCSS
$custom: #9a235b;
$custom-light: #bd6a89;
$custom-dark: #000000;
JSON
{
  "hex": "#9a235b",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 331.765,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4665,
    "c": 0.16116,
    "h": 357
  },
  "luminance": 0.08827
}

Semantic roles & 50–950 ramp

primary
#9A235B
secondary
#5ABF8F
accent
#E69942
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9A235B

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

Preview Lab → · Contrast checker → · Palette generator →

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