#AF3E94#AF3E94

#AF3E94 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.1% C 0.176 H 338.4°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AF3E94
RGBrgb(175, 62, 148)
HSLhsl(314, 48%, 46%)
HSVhsv(314, 65%, 69%)
CMYKcmyk(0%, 64.6%, 15.4%, 31.4%)
CIE-LABlab(45.22, 55.40, -23.93)
CIE-LCHlch(45.22, 60.35, 336.64°)
OKLaboklab(55.08% 0.1635 -0.0647)
OKLCHoklch(55.08% 0.176 338.4)
XYZxyz(24.7476, 14.6995, 29.5451)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E94 #3EAF59
analogous
#923EAF #AF3E94 #AF3E5C
triadic
#AF3E94 #94AF3E #3E94AF
tetradic
#AF3E94 #AF923E #3EAF59 #3E5CAF
square
#AF3E94 #AF923E #3EAF59 #3E5CAF
split-complementary
#AF3E94 #5CAF3E #3EAF92
monochromatic
#551E48 #822E6E #AF3E94 #C863AF #D890C6

Accessibility & contrast

On white

5.33
#AF3E94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AF3E94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E94
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E94#FFFFFF#000000##FFFFFF
##AF3E941.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436097
Deuteranopia (green-blind)
#657191
Tritanopia (blue-blind)
#B84263
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3e94;
/* rgb */ color: rgb(175, 62, 148);
/* oklch */ color: oklch(55.1% 0.176 338.4);
Tailwind
colors: {
  custom: {
    50: '#ca7bb3',
    500: '#af3e94',
    950: '#000000',
  },
}
SCSS
$custom: #af3e94;
$custom-light: #ca7bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e94",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 148
  },
  "hsl": {
    "h": 314.336,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.5508,
    "c": 0.17584,
    "h": 338.4
  },
  "luminance": 0.14697
}

Semantic roles & 50–950 ramp

primary
#AF3E94
secondary
#86C395
accent
#D77151
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3E94

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

Preview Lab → · Contrast checker → · Palette generator →

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