#AF3C93#AF3C93

#AF3C93 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.8% C 0.178 H 338.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AF3C93
RGBrgb(175, 60, 147)
HSLhsl(315, 49%, 46%)
HSVhsv(315, 66%, 69%)
CMYKcmyk(0%, 65.7%, 16%, 31.4%)
CIE-LABlab(44.88, 56.07, -23.86)
CIE-LCHlch(44.88, 60.94, 336.95°)
OKLaboklab(54.82% 0.1658 -0.0645)
OKLCHoklch(54.82% 0.178 338.8)
XYZxyz(24.5620, 14.4544, 29.0945)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C93 #3CAF58
analogous
#913CAF #AF3C93 #AF3C59
triadic
#AF3C93 #93AF3C #3C93AF
tetradic
#AF3C93 #AF913C #3CAF58 #3C59AF
square
#AF3C93 #AF913C #3CAF58 #3C59AF
split-complementary
#AF3C93 #59AF3C #3CAF91
monochromatic
#541D46 #812C6D #AF3C93 #C860AF #D88DC6

Accessibility & contrast

On white

5.40
#AF3C93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AF3C93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C93
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C93#FFFFFF#000000##FFFFFF
##AF3C931.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F96
Deuteranopia (green-blind)
#657190
Tritanopia (blue-blind)
#B94062
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3c93;
/* rgb */ color: rgb(175, 60, 147);
/* oklch */ color: oklch(54.8% 0.178 338.8);
Tailwind
colors: {
  custom: {
    50: '#ca7ab3',
    500: '#af3c93',
    950: '#000000',
  },
}
SCSS
$custom: #af3c93;
$custom-light: #ca7ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c93",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 147
  },
  "hsl": {
    "h": 314.609,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54816,
    "c": 0.1779,
    "h": 338.8
  },
  "luminance": 0.14452
}

Semantic roles & 50–950 ramp

primary
#AF3C93
secondary
#84C393
accent
#D8714F
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3C93

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

Preview Lab → · Contrast checker → · Palette generator →

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