#AF5EA0#AF5EA0

#AF5EA0 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 59.9% C 0.134 H 334.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AF5EA0
RGBrgb(175, 94, 160)
HSLhsl(311, 34%, 53%)
HSVhsv(311, 46%, 69%)
CMYKcmyk(0%, 46.3%, 8.6%, 31.4%)
CIE-LABlab(51.45, 42.07, -21.45)
CIE-LCHlch(51.45, 47.22, 332.98°)
OKLaboklab(59.85% 0.1211 -0.058)
OKLCHoklch(59.85% 0.134 334.4)
XYZxyz(28.0270, 19.6591, 35.5693)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5EA0 #5EAF6D
analogous
#955EAF #AF5EA0 #AF5E77
triadic
#AF5EA0 #A0AF5E #5EA0AF
tetradic
#AF5EA0 #AF955E #5EAF6D #5E77AF
square
#AF5EA0 #AF955E #5EAF6D #5E77AF
split-complementary
#AF5EA0 #77AF5E #5EAF95
monochromatic
#623159 #8B457E #AF5EA0 #C387B8 #D8B0D0

Accessibility & contrast

On white

4.26
#AF5EA0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#AF5EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF5EA0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5EA0#FFFFFF#000000##000000
##AF5EA01.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E73A2
Deuteranopia (green-blind)
#747F9E
Tritanopia (blue-blind)
#B66278
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #af5ea0;
/* rgb */ color: rgb(175, 94, 160);
/* oklch */ color: oklch(59.9% 0.134 334.4);
Tailwind
colors: {
  custom: {
    50: '#c98ebc',
    500: '#af5ea0',
    950: '#000000',
  },
}
SCSS
$custom: #af5ea0;
$custom-light: #c98ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#af5ea0",
  "rgb": {
    "r": 175,
    "g": 94,
    "b": 160
  },
  "hsl": {
    "h": 311.111,
    "s": 33.61,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59851,
    "c": 0.13426,
    "h": 334.4
  },
  "luminance": 0.19657
}

Semantic roles & 50–950 ramp

primary
#AF5EA0
secondary
#A3C6A9
accent
#CA725E
background
#FCF8FB
surface
#F8F0F6
border
#D1CBD0
text
#130C12
muted
#827D81

Preview Lab

Preview with #AF5EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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