#9A234E#9A234E

#9A234E is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.2% C 0.157 H 4.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9A234E
RGBrgb(154, 35, 78)
HSLhsl(338, 63%, 37%)
HSVhsv(338, 77%, 60%)
CMYKcmyk(0%, 77.3%, 49.4%, 39.6%)
CIE-LABlab(35.25, 51.11, 4.37)
CIE-LCHlch(35.25, 51.29, 4.89°)
OKLaboklab(46.22% 0.1564 0.0117)
OKLCHoklch(46.22% 0.157 4.3)
XYZxyz(15.3039, 8.6242, 8.0650)
Luminance0.0862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A234E #239A6F
analogous
#9A238A #9A234E #9A3323
triadic
#9A234E #4E9A23 #234E9A
tetradic
#9A234E #8A9A23 #239A6F #33239A
square
#9A234E #8A9A23 #239A6F #33239A
split-complementary
#9A234E #239A33 #238A9A
monochromatic
#360C1B #681835 #9A234E #CC2E67 #DA5D8A

Accessibility & contrast

On white

7.71
#9A234E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#9A234E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A234E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A234E#FFFFFF#000000##FFFFFF
##9A234E1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40444F
Deuteranopia (green-blind)
#605B4B
Tritanopia (blue-blind)
#A80536
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #9a234e;
/* rgb */ color: rgb(154, 35, 78);
/* oklch */ color: oklch(46.2% 0.157 4.3);
Tailwind
colors: {
  custom: {
    50: '#bd6a7f',
    500: '#9a234e',
    950: '#000000',
  },
}
SCSS
$custom: #9a234e;
$custom-light: #bd6a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9a234e",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 78
  },
  "hsl": {
    "h": 338.319,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46222,
    "c": 0.15685,
    "h": 4.3
  },
  "luminance": 0.08622
}

Semantic roles & 50–950 ramp

primary
#9A234E
secondary
#5ABF9A
accent
#E6AB42
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9A234E

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

Preview Lab → · Contrast checker → · Palette generator →

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