#AF3E90#AF3E90

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

Color values

HEX#AF3E90
RGBrgb(175, 62, 144)
HSLhsl(316, 48%, 46%)
HSVhsv(316, 65%, 69%)
CMYKcmyk(0%, 64.6%, 17.7%, 31.4%)
CIE-LABlab(45.05, 54.80, -21.79)
CIE-LCHlch(45.05, 58.97, 338.32°)
OKLaboklab(54.9% 0.1628 -0.0586)
OKLCHoklch(54.9% 0.173 340.2)
XYZxyz(24.4364, 14.5750, 27.9064)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E90 #3EAF5D
analogous
#963EAF #AF3E90 #AF3E58
triadic
#AF3E90 #90AF3E #3E90AF
tetradic
#AF3E90 #AF963E #3EAF5D #3E58AF
square
#AF3E90 #AF963E #3EAF5D #3E58AF
split-complementary
#AF3E90 #58AF3E #3EAF96
monochromatic
#551E46 #822E6B #AF3E90 #C863AC #D890C4

Accessibility & contrast

On white

5.36
#AF3E90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3E90
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E90#FFFFFF#000000##FFFFFF
##AF3E901.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455F92
Deuteranopia (green-blind)
#67718D
Tritanopia (blue-blind)
#B94161
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3e90;
/* rgb */ color: rgb(175, 62, 144);
/* oklch */ color: oklch(54.9% 0.173 340.2);
Tailwind
colors: {
  custom: {
    50: '#ca7bb0',
    500: '#af3e90',
    950: '#000000',
  },
}
SCSS
$custom: #af3e90;
$custom-light: #ca7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e90",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 144
  },
  "hsl": {
    "h": 316.46,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54897,
    "c": 0.17303,
    "h": 340.2
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#AF3E90
secondary
#86C397
accent
#D77551
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3E90

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

Preview Lab → · Contrast checker → · Palette generator →

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