#AF3495#AF3495

#AF3495 is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.1% C 0.190 H 337.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF3495
RGBrgb(175, 52, 149)
HSLhsl(313, 54%, 45%)
HSVhsv(313, 70%, 69%)
CMYKcmyk(0%, 70.3%, 14.9%, 31.4%)
CIE-LABlab(43.86, 59.46, -26.64)
CIE-LCHlch(43.86, 65.16, 335.86°)
OKLaboklab(54.11% 0.1754 -0.0723)
OKLCHoklch(54.11% 0.19 337.6)
XYZxyz(24.3325, 13.7421, 29.7989)
Luminance0.1374 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3495 #34AF4E
analogous
#8C34AF #AF3495 #AF3458
triadic
#AF3495 #95AF34 #3495AF
tetradic
#AF3495 #AF8C34 #34AF4E #3458AF
square
#AF3495 #AF8C34 #34AF4E #3458AF
split-complementary
#AF3495 #58AF34 #34AF8C
monochromatic
#511845 #80266D #AF3495 #CC54B3 #DA83C8

Accessibility & contrast

On white

5.60
#AF3495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF3495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3495
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3495#FFFFFF#000000##FFFFFF
##AF34951.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C98
Deuteranopia (green-blind)
#616E92
Tritanopia (blue-blind)
#B83A60
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3495;
/* rgb */ color: rgb(175, 52, 149);
/* oklch */ color: oklch(54.1% 0.190 337.6);
Tailwind
colors: {
  custom: {
    50: '#ca76b4',
    500: '#af3495',
    950: '#000000',
  },
}
SCSS
$custom: #af3495;
$custom-light: #ca76b4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3495",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 149
  },
  "hsl": {
    "h": 312.683,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54105,
    "c": 0.18968,
    "h": 337.6
  },
  "luminance": 0.1374
}

Semantic roles & 50–950 ramp

primary
#AF3495
secondary
#7BC48A
accent
#DE694A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3495

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

Preview Lab → · Contrast checker → · Palette generator →

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