#9A235C#9A235C

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

Color values

HEX#9A235C
RGBrgb(154, 35, 92)
HSLhsl(331, 63%, 37%)
HSVhsv(331, 77%, 60%)
CMYKcmyk(0%, 77.3%, 40.3%, 39.6%)
CIE-LABlab(35.69, 52.48, -4.02)
CIE-LCHlch(35.69, 52.63, 355.62°)
OKLaboklab(46.69% 0.1613 -0.0099)
OKLCHoklch(46.69% 0.162 356.5)
XYZxyz(15.8603, 8.8468, 10.9955)
Luminance0.0885 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A235C #239A61
analogous
#9A2397 #9A235C #9A2623
triadic
#9A235C #5C9A23 #235C9A
tetradic
#9A235C #979A23 #239A61 #26239A
square
#9A235C #979A23 #239A61 #26239A
split-complementary
#9A235C #239A26 #23979A
monochromatic
#360C20 #68183E #9A235C #CC2E7A #DA5D99

Accessibility & contrast

On white

7.58
#9A235C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A235C
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A235C#FFFFFF#000000##FFFFFF
##9A235C1.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465D
Deuteranopia (green-blind)
#5D5C59
Tritanopia (blue-blind)
#A7123C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #9a235c;
/* rgb */ color: rgb(154, 35, 92);
/* oklch */ color: oklch(46.7% 0.162 356.5);
Tailwind
colors: {
  custom: {
    50: '#bd6a8a',
    500: '#9a235c',
    950: '#000000',
  },
}
SCSS
$custom: #9a235c;
$custom-light: #bd6a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9a235c",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 92
  },
  "hsl": {
    "h": 331.261,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46686,
    "c": 0.16156,
    "h": 356.5
  },
  "luminance": 0.08845
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9A235C

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

Preview Lab → · Contrast checker → · Palette generator →

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