#AF3E92#AF3E92

#AF3E92 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.0% C 0.174 H 339.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AF3E92
RGBrgb(175, 62, 146)
HSLhsl(315, 48%, 46%)
HSVhsv(315, 65%, 69%)
CMYKcmyk(0%, 64.6%, 16.6%, 31.4%)
CIE-LABlab(45.13, 55.10, -22.86)
CIE-LCHlch(45.13, 59.65, 337.47°)
OKLaboklab(54.99% 0.1632 -0.0617)
OKLCHoklch(54.99% 0.174 339.3)
XYZxyz(24.5906, 14.6367, 28.7186)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E92 #3EAF5B
analogous
#943EAF #AF3E92 #AF3E5A
triadic
#AF3E92 #92AF3E #3E92AF
tetradic
#AF3E92 #AF943E #3EAF5B #3E5AAF
square
#AF3E92 #AF943E #3EAF5B #3E5AAF
split-complementary
#AF3E92 #5AAF3E #3EAF94
monochromatic
#551E47 #822E6C #AF3E92 #C863AE #D890C5

Accessibility & contrast

On white

5.35
#AF3E92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AF3E92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E92
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E92#FFFFFF#000000##FFFFFF
##AF3E921.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445F95
Deuteranopia (green-blind)
#66718F
Tritanopia (blue-blind)
#B94162
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3e92;
/* rgb */ color: rgb(175, 62, 146);
/* oklch */ color: oklch(55.0% 0.174 339.3);
Tailwind
colors: {
  custom: {
    50: '#ca7bb2',
    500: '#af3e92',
    950: '#000000',
  },
}
SCSS
$custom: #af3e92;
$custom-light: #ca7bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e92",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 146
  },
  "hsl": {
    "h": 315.398,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54988,
    "c": 0.17442,
    "h": 339.3
  },
  "luminance": 0.14635
}

Semantic roles & 50–950 ramp

primary
#AF3E92
secondary
#86C396
accent
#D77351
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3E92

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

Preview Lab → · Contrast checker → · Palette generator →

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