#AF5192#AF5192

#AF5192 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.4% C 0.145 H 340.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#AF5192
RGBrgb(175, 81, 146)
HSLhsl(319, 37%, 50%)
HSVhsv(319, 54%, 69%)
CMYKcmyk(0%, 53.7%, 16.6%, 31.4%)
CIE-LABlab(48.36, 46.39, -17.91)
CIE-LCHlch(48.36, 49.72, 338.89°)
OKLaboklab(57.36% 0.1371 -0.0479)
OKLCHoklch(57.36% 0.145 340.7)
XYZxyz(25.8104, 17.0762, 29.1252)
Luminance0.1707 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5192 #51AF6E
analogous
#9D51AF #AF5192 #AF5163
triadic
#AF5192 #92AF51 #5192AF
tetradic
#AF5192 #AF9D51 #51AF6E #5163AF
square
#AF5192 #AF9D51 #51AF6E #5163AF
split-complementary
#AF5192 #63AF51 #51AF9D
monochromatic
#5C2A4C #853D6F #AF5192 #C27BAC #D6A5C7

Accessibility & contrast

On white

4.76
#AF5192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#AF5192 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5192
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5192#FFFFFF#000000##FFFFFF
##AF51921.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566994
Deuteranopia (green-blind)
#707890
Tritanopia (blue-blind)
#B8526B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5192;
/* rgb */ color: rgb(175, 81, 146);
/* oklch */ color: oklch(57.4% 0.145 340.7);
Tailwind
colors: {
  custom: {
    50: '#c986b2',
    500: '#af5192',
    950: '#000000',
  },
}
SCSS
$custom: #af5192;
$custom-light: #c986b2;
$custom-dark: #000000;
JSON
{
  "hex": "#af5192",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 146
  },
  "hsl": {
    "h": 318.511,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57364,
    "c": 0.14527,
    "h": 340.7
  },
  "luminance": 0.17074
}

Semantic roles & 50–950 ramp

primary
#AF5192
secondary
#99C3A6
accent
#CD7E5B
background
#FCF8FA
surface
#F9F0F5
border
#D2CBCF
text
#130B11
muted
#827C80

Preview Lab

Preview with #AF5192

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

Preview Lab → · Contrast checker → · Palette generator →

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