#AF3E8A#AF3E8A

#AF3E8A is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.6% C 0.169 H 343.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AF3E8A
RGBrgb(175, 62, 138)
HSLhsl(320, 48%, 46%)
HSVhsv(320, 65%, 69%)
CMYKcmyk(0%, 64.6%, 21.1%, 31.4%)
CIE-LABlab(44.80, 53.93, -18.55)
CIE-LCHlch(44.80, 57.03, 341.02°)
OKLaboklab(54.63% 0.1616 -0.0495)
OKLCHoklch(54.63% 0.169 343)
XYZxyz(23.9900, 14.3964, 25.5552)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E8A #3EAF63
analogous
#9C3EAF #AF3E8A #AF3E52
triadic
#AF3E8A #8AAF3E #3E8AAF
tetradic
#AF3E8A #AF9C3E #3EAF63 #3E52AF
square
#AF3E8A #AF9C3E #3EAF63 #3E52AF
split-complementary
#AF3E8A #52AF3E #3EAF9C
monochromatic
#551E43 #822E66 #AF3E8A #C863A7 #D890C0

Accessibility & contrast

On white

5.41
#AF3E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AF3E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E8A
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E8A#FFFFFF#000000##FFFFFF
##AF3E8A1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485E8C
Deuteranopia (green-blind)
#697187
Tritanopia (blue-blind)
#BA3E5E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3e8a;
/* rgb */ color: rgb(175, 62, 138);
/* oklch */ color: oklch(54.6% 0.169 343.0);
Tailwind
colors: {
  custom: {
    50: '#ca7bac',
    500: '#af3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #af3e8a;
$custom-light: #ca7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e8a",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 319.646,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54631,
    "c": 0.16898,
    "h": 343
  },
  "luminance": 0.14394
}

Semantic roles & 50–950 ramp

primary
#AF3E8A
secondary
#86C39A
accent
#D77D51
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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