#A5335D#A5335D

#A5335D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.1% C 0.153 H 1.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A5335D
RGBrgb(165, 51, 93)
HSLhsl(338, 53%, 42%)
HSVhsv(338, 69%, 65%)
CMYKcmyk(0%, 69.1%, 43.6%, 35.3%)
CIE-LABlab(39.85, 49.97, 1.68)
CIE-LCHlch(39.85, 50.00, 1.93°)
OKLaboklab(50.14% 0.1529 0.0049)
OKLCHoklch(50.14% 0.153 1.8)
XYZxyz(18.6780, 11.1596, 11.5242)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5335D #33A57B
analogous
#A53396 #A5335D #A54233
triadic
#A5335D #5DA533 #335DA5
tetradic
#A5335D #96A533 #33A57B #4233A5
square
#A5335D #96A533 #33A57B #4233A5
split-complementary
#A5335D #33A542 #3396A5
monochromatic
#481628 #762543 #A5335D #C84D7A #D67C9D

Accessibility & contrast

On white

6.50
#A5335D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A5335D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5335D
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5335D#FFFFFF#000000##FFFFFF
##A5335D1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505E
Deuteranopia (green-blind)
#69665A
Tritanopia (blue-blind)
#B32444
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5335d;
/* rgb */ color: rgb(165, 51, 93);
/* oklch */ color: oklch(50.1% 0.153 1.8);
Tailwind
colors: {
  custom: {
    50: '#c4738a',
    500: '#a5335d',
    950: '#000000',
  },
}
SCSS
$custom: #a5335d;
$custom-light: #c4738a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5335d",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 337.895,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50137,
    "c": 0.153,
    "h": 1.8
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

primary
#A5335D
secondary
#75BFA4
accent
#DCA74C
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A5335D

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

Preview Lab → · Contrast checker → · Palette generator →

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