#A5335F#A5335F

#A5335F is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.2% C 0.154 H 0.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A5335F
RGBrgb(165, 51, 95)
HSLhsl(337, 53%, 42%)
HSVhsv(337, 69%, 65%)
CMYKcmyk(0%, 69.1%, 42.4%, 35.3%)
CIE-LABlab(39.91, 50.18, 0.51)
CIE-LCHlch(39.91, 50.18, 0.58°)
OKLaboklab(50.2% 0.1536 0.0019)
OKLCHoklch(50.2% 0.154 0.7)
XYZxyz(18.7678, 11.1955, 11.9969)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5335F #33A579
analogous
#A53398 #A5335F #A54033
triadic
#A5335F #5FA533 #335FA5
tetradic
#A5335F #98A533 #33A579 #4033A5
square
#A5335F #98A533 #33A579 #4033A5
split-complementary
#A5335F #33A540 #3398A5
monochromatic
#481629 #762544 #A5335F #C84D7D #D67C9F

Accessibility & contrast

On white

6.48
#A5335F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A5335F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A5335F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5335F#FFFFFF#000000##FFFFFF
##A5335F1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5060
Deuteranopia (green-blind)
#69665C
Tritanopia (blue-blind)
#B32545
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a5335f;
/* rgb */ color: rgb(165, 51, 95);
/* oklch */ color: oklch(50.2% 0.154 0.7);
Tailwind
colors: {
  custom: {
    50: '#c4738c',
    500: '#a5335f',
    950: '#000000',
  },
}
SCSS
$custom: #a5335f;
$custom-light: #c4738c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5335f",
  "rgb": {
    "r": 165,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 336.842,
    "s": 52.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50201,
    "c": 0.15364,
    "h": 0.7
  },
  "luminance": 0.11193
}

Semantic roles & 50–950 ramp

primary
#A5335F
secondary
#75BFA2
accent
#DCA44C
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13090C
muted
#827B7D

Preview Lab

Preview with #A5335F

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

Preview Lab → · Contrast checker → · Palette generator →

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