#AF3E8D#AF3E8D

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

Color values

HEX#AF3E8D
RGBrgb(175, 62, 141)
HSLhsl(318, 48%, 46%)
HSVhsv(318, 65%, 69%)
CMYKcmyk(0%, 64.6%, 19.4%, 31.4%)
CIE-LABlab(44.92, 54.36, -20.17)
CIE-LCHlch(44.92, 57.99, 339.64°)
OKLaboklab(54.76% 0.1622 -0.0541)
OKLCHoklch(54.76% 0.171 341.6)
XYZxyz(24.2102, 14.4845, 26.7149)
Luminance0.1448 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E8D #3EAF60
analogous
#993EAF #AF3E8D #AF3E55
triadic
#AF3E8D #8DAF3E #3E8DAF
tetradic
#AF3E8D #AF993E #3EAF60 #3E55AF
square
#AF3E8D #AF993E #3EAF60 #3E55AF
split-complementary
#AF3E8D #55AF3E #3EAF99
monochromatic
#551E44 #822E69 #AF3E8D #C863A9 #D890C2

Accessibility & contrast

On white

5.39
#AF3E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AF3E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E8D
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E8D#FFFFFF#000000##FFFFFF
##AF3E8D1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465F8F
Deuteranopia (green-blind)
#68718A
Tritanopia (blue-blind)
#B94060
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3e8d;
/* rgb */ color: rgb(175, 62, 141);
/* oklch */ color: oklch(54.8% 0.171 341.6);
Tailwind
colors: {
  custom: {
    50: '#ca7bae',
    500: '#af3e8d',
    950: '#000000',
  },
}
SCSS
$custom: #af3e8d;
$custom-light: #ca7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e8d",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 141
  },
  "hsl": {
    "h": 318.053,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54763,
    "c": 0.17097,
    "h": 341.6
  },
  "luminance": 0.14482
}

Semantic roles & 50–950 ramp

primary
#AF3E8D
secondary
#86C398
accent
#D77951
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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