#AF3F90#AF3F90

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

Color values

HEX#AF3F90
RGBrgb(175, 63, 144)
HSLhsl(317, 47%, 47%)
HSVhsv(317, 64%, 69%)
CMYKcmyk(0%, 64%, 17.7%, 31.4%)
CIE-LABlab(45.20, 54.38, -21.55)
CIE-LCHlch(45.20, 58.50, 338.38°)
OKLaboklab(55.01% 0.1615 -0.058)
OKLCHoklch(55.01% 0.172 340.3)
XYZxyz(24.4913, 14.6848, 27.9247)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F90 #3FAF5E
analogous
#963FAF #AF3F90 #AF3F58
triadic
#AF3F90 #90AF3F #3F90AF
tetradic
#AF3F90 #AF963F #3FAF5E #3F58AF
square
#AF3F90 #AF963F #3FAF5E #3F58AF
split-complementary
#AF3F90 #58AF3F #3FAF96
monochromatic
#551F46 #822F6B #AF3F90 #C764AC #D791C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3F90#FFFFFF#000000##FFFFFF
##AF3F901.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)
#466092
Deuteranopia (green-blind)
#67728D
Tritanopia (blue-blind)
#B94262
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3f90;
/* rgb */ color: rgb(175, 63, 144);
/* oklch */ color: oklch(55.0% 0.172 340.3);
Tailwind
colors: {
  custom: {
    50: '#ca7bb0',
    500: '#af3f90',
    950: '#000000',
  },
}
SCSS
$custom: #af3f90;
$custom-light: #ca7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f90",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 316.607,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55009,
    "c": 0.17161,
    "h": 340.3
  },
  "luminance": 0.14683
}

Semantic roles & 50–950 ramp

primary
#AF3F90
secondary
#87C398
accent
#D77651
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3F90

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

Preview Lab → · Contrast checker → · Palette generator →

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