#AF568E#AF568E

#AF568E is a mid, vivid pink. Relative luminance 0.177; OKLCH L 57.9% C 0.134 H 343.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#AF568E
RGBrgb(175, 86, 142)
HSLhsl(322, 36%, 51%)
HSVhsv(322, 51%, 69%)
CMYKcmyk(0%, 50.9%, 18.9%, 31.4%)
CIE-LABlab(49.16, 43.25, -14.30)
CIE-LCHlch(49.16, 45.55, 341.71°)
OKLaboklab(57.91% 0.1286 -0.0379)
OKLCHoklch(57.91% 0.134 343.6)
XYZxyz(25.8900, 17.7245, 27.6435)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF568E #56AF77
analogous
#A356AF #AF568E #AF5661
triadic
#AF568E #8EAF56 #568EAF
tetradic
#AF568E #AFA356 #56AF77 #5661AF
square
#AF568E #AFA356 #56AF77 #5661AF
split-complementary
#AF568E #61AF56 #56AFA3
monochromatic
#5E2D4C #88406D #AF568E #C380AA #D6A9C6

Accessibility & contrast

On white

4.62
#AF568E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#AF568E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #AF568E
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF568E#FFFFFF#000000##FFFFFF
##AF568E1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6C90
Deuteranopia (green-blind)
#747A8C
Tritanopia (blue-blind)
#B9566C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #af568e;
/* rgb */ color: rgb(175, 86, 142);
/* oklch */ color: oklch(57.9% 0.134 343.6);
Tailwind
colors: {
  custom: {
    50: '#c989af',
    500: '#af568e',
    950: '#000000',
  },
}
SCSS
$custom: #af568e;
$custom-light: #c989af;
$custom-dark: #000000;
JSON
{
  "hex": "#af568e",
  "rgb": {
    "r": 175,
    "g": 86,
    "b": 142
  },
  "hsl": {
    "h": 322.247,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57914,
    "c": 0.13407,
    "h": 343.6
  },
  "luminance": 0.17723
}

Semantic roles & 50–950 ramp

primary
#AF568E
secondary
#9DC4AB
accent
#CC855C
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130C10
muted
#827D7F

Preview Lab

Preview with #AF568E

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

Preview Lab → · Contrast checker → · Palette generator →

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