#AF3295#AF3295

#AF3295 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.9% C 0.192 H 337.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF3295
RGBrgb(175, 50, 149)
HSLhsl(312, 56%, 44%)
HSVhsv(312, 71%, 69%)
CMYKcmyk(0%, 71.4%, 14.9%, 31.4%)
CIE-LABlab(43.61, 60.18, -27.04)
CIE-LCHlch(43.61, 65.98, 335.81°)
OKLaboklab(53.92% 0.1775 -0.0734)
OKLCHoklch(53.92% 0.192 337.5)
XYZxyz(24.2451, 13.5673, 29.7698)
Luminance0.1356 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3295 #32AF4C
analogous
#8B32AF #AF3295 #AF3257
triadic
#AF3295 #95AF32 #3295AF
tetradic
#AF3295 #AF8B32 #32AF4C #3257AF
square
#AF3295 #AF8B32 #32AF4C #3257AF
split-complementary
#AF3295 #57AF32 #32AF8B
monochromatic
#501744 #7F246C #AF3295 #CD51B3 #DB81C8

Accessibility & contrast

On white

5.66
#AF3295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF3295 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3295
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3295#FFFFFF#000000##FFFFFF
##AF32951.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3295;
/* rgb */ color: rgb(175, 50, 149);
/* oklch */ color: oklch(53.9% 0.192 337.5);
Tailwind
colors: {
  custom: {
    50: '#ca75b4',
    500: '#af3295',
    950: '#000000',
  },
}
SCSS
$custom: #af3295;
$custom-light: #ca75b4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3295",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 312.48,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5392,
    "c": 0.19209,
    "h": 337.5
  },
  "luminance": 0.13565
}

Semantic roles & 50–950 ramp

primary
#AF3295
secondary
#79C488
accent
#DF6849
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3295

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

Preview Lab → · Contrast checker → · Palette generator →

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