#A5335B#A5335B

#A5335B is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.1% C 0.152 H 3.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A5335B
RGBrgb(165, 51, 91)
HSLhsl(339, 53%, 42%)
HSVhsv(339, 69%, 65%)
CMYKcmyk(0%, 69.1%, 44.8%, 35.3%)
CIE-LABlab(39.79, 49.77, 2.86)
CIE-LCHlch(39.79, 49.85, 3.29°)
OKLaboklab(50.07% 0.1522 0.0079)
OKLCHoklch(50.07% 0.152 3)
XYZxyz(18.5906, 11.1246, 11.0638)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5335B #33A57D
analogous
#A53394 #A5335B #A54433
triadic
#A5335B #5BA533 #335BA5
tetradic
#A5335B #94A533 #33A57D #4433A5
square
#A5335B #94A533 #33A57D #4433A5
split-complementary
#A5335B #33A544 #3394A5
monochromatic
#481627 #762541 #A5335B #C84D78 #D67C9C

Accessibility & contrast

On white

6.51
#A5335B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A5335B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5335B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5335B#FFFFFF#000000##FFFFFF
##A5335B1.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505C
Deuteranopia (green-blind)
#6A6658
Tritanopia (blue-blind)
#B32343
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5335b;
/* rgb */ color: rgb(165, 51, 91);
/* oklch */ color: oklch(50.1% 0.152 3.0);
Tailwind
colors: {
  custom: {
    50: '#c47389',
    500: '#a5335b',
    950: '#000000',
  },
}
SCSS
$custom: #a5335b;
$custom-light: #c47389;
$custom-dark: #000000;
JSON
{
  "hex": "#a5335b",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 91
  },
  "hsl": {
    "h": 338.947,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50074,
    "c": 0.15241,
    "h": 3
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

primary
#A5335B
secondary
#75BFA5
accent
#DCA94C
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A5335B

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

Preview Lab → · Contrast checker → · Palette generator →

#A5335B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva