#A5335C#A5335C

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

Color values

HEX#A5335C
RGBrgb(165, 51, 92)
HSLhsl(338, 53%, 42%)
HSVhsv(338, 69%, 65%)
CMYKcmyk(0%, 69.1%, 44.2%, 35.3%)
CIE-LABlab(39.82, 49.87, 2.27)
CIE-LCHlch(39.82, 49.92, 2.61°)
OKLaboklab(50.11% 0.1526 0.0064)
OKLCHoklch(50.11% 0.153 2.4)
XYZxyz(18.6340, 11.1420, 11.2925)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5335C #33A57C
analogous
#A53395 #A5335C #A54333
triadic
#A5335C #5CA533 #335CA5
tetradic
#A5335C #95A533 #33A57C #4333A5
square
#A5335C #95A533 #33A57C #4333A5
split-complementary
#A5335C #33A543 #3395A5
monochromatic
#481628 #762542 #A5335C #C84D79 #D67C9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A5335C#FFFFFF#000000##FFFFFF
##A5335C1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B505D
Deuteranopia (green-blind)
#696659
Tritanopia (blue-blind)
#B32344
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5335c;
/* rgb */ color: rgb(165, 51, 92);
/* oklch */ color: oklch(50.1% 0.153 2.4);
Tailwind
colors: {
  custom: {
    50: '#c4738a',
    500: '#a5335c',
    950: '#000000',
  },
}
SCSS
$custom: #a5335c;
$custom-light: #c4738a;
$custom-dark: #000000;
JSON
{
  "hex": "#a5335c",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 92
  },
  "hsl": {
    "h": 338.421,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50105,
    "c": 0.1527,
    "h": 2.4
  },
  "luminance": 0.1114
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A5335C

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

Preview Lab → · Contrast checker → · Palette generator →

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