#AF3195#AF3195

#AF3195 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.8% C 0.193 H 337.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#AF3195
RGBrgb(175, 49, 149)
HSLhsl(312, 56%, 44%)
HSVhsv(312, 72%, 69%)
CMYKcmyk(0%, 72%, 14.9%, 31.4%)
CIE-LABlab(43.48, 60.53, -27.23)
CIE-LCHlch(43.48, 66.37, 335.78°)
OKLaboklab(53.83% 0.1786 -0.0739)
OKLCHoklch(53.83% 0.193 337.5)
XYZxyz(24.2028, 13.4827, 29.7557)
Luminance0.1348 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3195 #31AF4B
analogous
#8A31AF #AF3195 #AF3156
triadic
#AF3195 #95AF31 #3195AF
tetradic
#AF3195 #AF8A31 #31AF4B #3156AF
square
#AF3195 #AF8A31 #31AF4B #3156AF
split-complementary
#AF3195 #56AF31 #31AF8A
monochromatic
#4F1644 #7F246C #AF3195 #CE4FB4 #DB7FC8

Accessibility & contrast

On white

5.68
#AF3195 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#AF3195 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3195
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3195#FFFFFF#000000##FFFFFF
##AF31951.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A98
Deuteranopia (green-blind)
#5F6E92
Tritanopia (blue-blind)
#B8385F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3195;
/* rgb */ color: rgb(175, 49, 149);
/* oklch */ color: oklch(53.8% 0.193 337.5);
Tailwind
colors: {
  custom: {
    50: '#cb75b4',
    500: '#af3195',
    950: '#000000',
  },
}
SCSS
$custom: #af3195;
$custom-light: #cb75b4;
$custom-dark: #000000;
JSON
{
  "hex": "#af3195",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 149
  },
  "hsl": {
    "h": 312.381,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53831,
    "c": 0.19327,
    "h": 337.5
  },
  "luminance": 0.13481
}

Semantic roles & 50–950 ramp

primary
#AF3195
secondary
#78C487
accent
#E06748
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3195

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

Preview Lab → · Contrast checker → · Palette generator →

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