#AF3395#AF3395

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

Color values

HEX#AF3395
RGBrgb(175, 51, 149)
HSLhsl(313, 55%, 44%)
HSVhsv(313, 71%, 69%)
CMYKcmyk(0%, 70.9%, 14.9%, 31.4%)
CIE-LABlab(43.73, 59.82, -26.84)
CIE-LCHlch(43.73, 65.57, 335.83°)
OKLaboklab(54.01% 0.1764 -0.0729)
OKLCHoklch(54.01% 0.191 337.6)
XYZxyz(24.2883, 13.6538, 29.7842)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3395 #33AF4D
analogous
#8B33AF #AF3395 #AF3357
triadic
#AF3395 #95AF33 #3395AF
tetradic
#AF3395 #AF8B33 #33AF4D #3357AF
square
#AF3395 #AF8B33 #33AF4D #3357AF
split-complementary
#AF3395 #57AF33 #33AF8B
monochromatic
#501744 #80256D #AF3395 #CD52B3 #DB82C8

Accessibility & contrast

On white

5.63
#AF3395 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AF3395 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3395
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3395#FFFFFF#000000##FFFFFF
##AF33951.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B98
Deuteranopia (green-blind)
#606E92
Tritanopia (blue-blind)
#B83960
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3395;
/* rgb */ color: rgb(175, 51, 149);
/* oklch */ color: oklch(54.0% 0.191 337.6);
Tailwind
colors: {
  custom: {
    50: '#ca76b4',
    500: '#af3395',
    950: '#000000',
  },
}
SCSS
$custom: #af3395;
$custom-light: #ca76b4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3395",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 149
  },
  "hsl": {
    "h": 312.581,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54012,
    "c": 0.19089,
    "h": 337.6
  },
  "luminance": 0.13652
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3395

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

Preview Lab → · Contrast checker → · Palette generator →

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