#AF4F91#AF4F91

#AF4F91 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.0% C 0.148 H 341.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF4F91
RGBrgb(175, 79, 145)
HSLhsl(319, 38%, 50%)
HSVhsv(319, 55%, 69%)
CMYKcmyk(0%, 54.9%, 17.1%, 31.4%)
CIE-LABlab(47.95, 47.21, -17.93)
CIE-LCHlch(47.95, 50.51, 339.20°)
OKLaboklab(57.05% 0.1398 -0.048)
OKLCHoklch(57.05% 0.148 341.1)
XYZxyz(25.5865, 16.7523, 28.6685)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4F91 #4FAF6D
analogous
#9D4FAF #AF4F91 #AF4F61
triadic
#AF4F91 #91AF4F #4F91AF
tetradic
#AF4F91 #AF9D4F #4FAF6D #4F61AF
square
#AF4F91 #AF9D4F #4FAF6D #4F61AF
split-complementary
#AF4F91 #61AF4F #4FAF9D
monochromatic
#5B294B #853C6E #AF4F91 #C279AB #D5A3C6

Accessibility & contrast

On white

4.83
#AF4F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#AF4F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4F91
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4F91#FFFFFF#000000##FFFFFF
##AF4F911.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546893
Deuteranopia (green-blind)
#6F778F
Tritanopia (blue-blind)
#B85069
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af4f91;
/* rgb */ color: rgb(175, 79, 145);
/* oklch */ color: oklch(57.0% 0.148 341.1);
Tailwind
colors: {
  custom: {
    50: '#c984b1',
    500: '#af4f91',
    950: '#000000',
  },
}
SCSS
$custom: #af4f91;
$custom-light: #c984b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4f91",
  "rgb": {
    "r": 175,
    "g": 79,
    "b": 145
  },
  "hsl": {
    "h": 318.75,
    "s": 37.795,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57048,
    "c": 0.14783,
    "h": 341.1
  },
  "luminance": 0.1675
}

Semantic roles & 50–950 ramp

primary
#AF4F91
secondary
#97C3A5
accent
#CE7E5A
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AF4F91

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

Preview Lab → · Contrast checker → · Palette generator →

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