#AF5E91#AF5E91

#AF5E91 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.2% C 0.122 H 343.0°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#AF5E91
RGBrgb(175, 94, 145)
HSLhsl(322, 34%, 53%)
HSVhsv(322, 46%, 69%)
CMYKcmyk(0%, 46.3%, 17.1%, 31.4%)
CIE-LABlab(50.88, 39.56, -13.47)
CIE-LCHlch(50.88, 41.80, 341.19°)
OKLaboklab(59.24% 0.1171 -0.0358)
OKLCHoklch(59.24% 0.122 343)
XYZxyz(26.7931, 19.1656, 29.0707)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5E91 #5EAF7C
analogous
#A45EAF #AF5E91 #AF5E68
triadic
#AF5E91 #91AF5E #5E91AF
tetradic
#AF5E91 #AFA45E #5EAF7C #5E68AF
square
#AF5E91 #AFA45E #5EAF7C #5E68AF
split-complementary
#AF5E91 #68AF5E #5EAFA4
monochromatic
#623150 #8B4571 #AF5E91 #C387AD #D8B0C9

Accessibility & contrast

On white

4.35
#AF5E91 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#AF5E91 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5E91
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5E91#FFFFFF#000000##000000
##AF5E911.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#637193
Deuteranopia (green-blind)
#787E8F
Tritanopia (blue-blind)
#B85E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #af5e91;
/* rgb */ color: rgb(175, 94, 145);
/* oklch */ color: oklch(59.2% 0.122 343.0);
Tailwind
colors: {
  custom: {
    50: '#c98eb1',
    500: '#af5e91',
    950: '#000000',
  },
}
SCSS
$custom: #af5e91;
$custom-light: #c98eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#af5e91",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 145
  },
  "hsl": {
    "h": 322.222,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59238,
    "c": 0.12242,
    "h": 343
  },
  "luminance": 0.19164
}

Semantic roles & 50–950 ramp

primary
#AF5E91
secondary
#A3C6B0
accent
#CA865E
background
#FCF8FA
surface
#F8F0F5
border
#D1CBCF
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AF5E91

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

Preview Lab → · Contrast checker → · Palette generator →

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