#AF4893#AF4893

#AF4893 is a mid, vivid pink. Relative luminance 0.159; OKLCH L 56.2% C 0.160 H 339.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#AF4893
RGBrgb(175, 72, 147)
HSLhsl(316, 42%, 48%)
HSVhsv(316, 59%, 69%)
CMYKcmyk(0%, 58.9%, 16%, 31.4%)
CIE-LABlab(46.79, 50.85, -20.91)
CIE-LCHlch(46.79, 54.98, 337.65°)
OKLaboklab(56.22% 0.1502 -0.0562)
OKLCHoklch(56.22% 0.16 339.5)
XYZxyz(25.2635, 15.8574, 29.3283)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4893 #48AF64
analogous
#9748AF #AF4893 #AF485F
triadic
#AF4893 #93AF48 #4893AF
tetradic
#AF4893 #AF9748 #48AF64 #485FAF
square
#AF4893 #AF9748 #48AF64 #485FAF
split-complementary
#AF4893 #5FAF48 #48AF97
monochromatic
#58244A #84366F #AF4893 #C470AD #D69BC6

Accessibility & contrast

On white

5.03
#AF4893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#AF4893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4893
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4893#FFFFFF#000000##FFFFFF
##AF48931.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6595
Deuteranopia (green-blind)
#6B7590
Tritanopia (blue-blind)
#B84B67
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af4893;
/* rgb */ color: rgb(175, 72, 147);
/* oklch */ color: oklch(56.2% 0.160 339.5);
Tailwind
colors: {
  custom: {
    50: '#ca80b3',
    500: '#af4893',
    950: '#000000',
  },
}
SCSS
$custom: #af4893;
$custom-light: #ca80b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4893",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 147
  },
  "hsl": {
    "h": 316.311,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56217,
    "c": 0.16038,
    "h": 339.5
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#AF4893
secondary
#90C29E
accent
#D27856
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140B11
muted
#827C80

Preview Lab

Preview with #AF4893

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

Preview Lab → · Contrast checker → · Palette generator →

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