#9A334D#9A334D

#9A334D is a mid, vivid pink. Relative luminance 0.098; OKLCH L 47.8% C 0.138 H 8.7°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#9A334D
RGBrgb(154, 51, 77)
HSLhsl(345, 50%, 40%)
HSVhsv(345, 67%, 60%)
CMYKcmyk(0%, 66.9%, 50%, 39.6%)
CIE-LABlab(37.44, 44.89, 8.11)
CIE-LCHlch(37.44, 45.62, 10.25°)
OKLaboklab(47.83% 0.1364 0.021)
OKLCHoklch(47.83% 0.138 8.7)
XYZxyz(15.8511, 9.7755, 8.0719)
Luminance0.0977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A334D #339A80
analogous
#9A3381 #9A334D #9A4C33
triadic
#9A334D #4D9A33 #334D9A
tetradic
#9A334D #819A33 #339A80 #4C339A
square
#9A334D #819A33 #339A80 #4C339A
split-complementary
#9A334D #339A4C #33819A
monochromatic
#3E151F #6C2436 #9A334D #C24867 #D2768D

Accessibility & contrast

On white

7.11
#9A334D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#9A334D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A334D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A334D#FFFFFF#000000##FFFFFF
##9A334D1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B4E
Deuteranopia (green-blind)
#65604B
Tritanopia (blue-blind)
#A8233D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9a334d;
/* rgb */ color: rgb(154, 51, 77);
/* oklch */ color: oklch(47.8% 0.138 8.7);
Tailwind
colors: {
  custom: {
    50: '#bd717e',
    500: '#9a334d',
    950: '#000000',
  },
}
SCSS
$custom: #9a334d;
$custom-light: #bd717e;
$custom-dark: #000000;
JSON
{
  "hex": "#9a334d",
  "rgb": {
    "r": 154,
    "g": 51,
    "b": 77
  },
  "hsl": {
    "h": 344.854,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47832,
    "c": 0.13803,
    "h": 8.7
  },
  "luminance": 0.09773
}

Semantic roles & 50–950 ramp

primary
#9A334D
secondary
#6FBAA7
accent
#DAB64E
background
#FCF7F7
surface
#F8EDEE
border
#D1C8C9
text
#13080A
muted
#827B7C

Preview Lab

Preview with #9A334D

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

Preview Lab → · Contrast checker → · Palette generator →

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