#AF3D93#AF3D93

#AF3D93 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.9% C 0.177 H 338.8°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AF3D93
RGBrgb(175, 61, 147)
HSLhsl(315, 48%, 46%)
HSVhsv(315, 65%, 69%)
CMYKcmyk(0%, 65.1%, 16%, 31.4%)
CIE-LABlab(45.03, 55.66, -23.63)
CIE-LCHlch(45.03, 60.47, 337.00°)
OKLaboklab(54.92% 0.1646 -0.0638)
OKLCHoklch(54.92% 0.177 338.8)
XYZxyz(24.6149, 14.5602, 29.1121)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D93 #3DAF59
analogous
#923DAF #AF3D93 #AF3D5A
triadic
#AF3D93 #93AF3D #3D93AF
tetradic
#AF3D93 #AF923D #3DAF59 #3D5AAF
square
#AF3D93 #AF923D #3DAF59 #3D5AAF
split-complementary
#AF3D93 #5AAF3D #3DAF92
monochromatic
#541D47 #822D6D #AF3D93 #C861AF #D88FC6

Accessibility & contrast

On white

5.37
#AF3D93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AF3D93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D93
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D93#FFFFFF#000000##FFFFFF
##AF3D931.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425F96
Deuteranopia (green-blind)
#657190
Tritanopia (blue-blind)
#B94162
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3d93;
/* rgb */ color: rgb(175, 61, 147);
/* oklch */ color: oklch(54.9% 0.177 338.8);
Tailwind
colors: {
  custom: {
    50: '#ca7ab3',
    500: '#af3d93',
    950: '#000000',
  },
}
SCSS
$custom: #af3d93;
$custom-light: #ca7ab3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d93",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 147
  },
  "hsl": {
    "h": 314.737,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54924,
    "c": 0.17652,
    "h": 338.8
  },
  "luminance": 0.14558
}

Semantic roles & 50–950 ramp

primary
#AF3D93
secondary
#85C394
accent
#D87150
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3D93

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

Preview Lab → · Contrast checker → · Palette generator →

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