#9A335E#9A335E

#9A335E is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.4% C 0.143 H 358.1°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9A335E
RGBrgb(154, 51, 94)
HSLhsl(335, 50%, 40%)
HSVhsv(335, 67%, 60%)
CMYKcmyk(0%, 66.9%, 39%, 39.6%)
CIE-LABlab(37.93, 46.65, -1.99)
CIE-LCHlch(37.93, 46.70, 357.56°)
OKLaboklab(48.36% 0.1427 -0.0046)
OKLCHoklch(48.36% 0.143 358.1)
XYZxyz(16.5317, 10.0477, 11.6563)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A335E #339A6F
analogous
#9A3392 #9A335E #9A3B33
triadic
#9A335E #5E9A33 #335E9A
tetradic
#9A335E #929A33 #339A6F #3B339A
square
#9A335E #929A33 #339A6F #3B339A
split-complementary
#9A335E #339A3B #33929A
monochromatic
#3E1526 #6C2442 #9A335E #C2487B #D2769C

Accessibility & contrast

On white

6.98
#9A335E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9A335E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A335E
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A335E#FFFFFF#000000##FFFFFF
##9A335E1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464D5F
Deuteranopia (green-blind)
#62605C
Tritanopia (blue-blind)
#A62944
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a335e;
/* rgb */ color: rgb(154, 51, 94);
/* oklch */ color: oklch(48.4% 0.143 358.1);
Tailwind
colors: {
  custom: {
    50: '#bc728b',
    500: '#9a335e',
    950: '#000000',
  },
}
SCSS
$custom: #9a335e;
$custom-light: #bc728b;
$custom-dark: #000000;
JSON
{
  "hex": "#9a335e",
  "rgb": {
    "r": 154,
    "g": 51,
    "b": 94
  },
  "hsl": {
    "h": 334.951,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48357,
    "c": 0.14281,
    "h": 358.1
  },
  "luminance": 0.10046
}

Semantic roles & 50–950 ramp

primary
#9A335E
secondary
#6FBA9B
accent
#DA9F4E
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#12080C
muted
#817B7D

Preview Lab

Preview with #9A335E

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

Preview Lab → · Contrast checker → · Palette generator →

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