#AF2C93#AF2C93

#AF2C93 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.3% C 0.198 H 338.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AF2C93
RGBrgb(175, 44, 147)
HSLhsl(313, 60%, 43%)
HSVhsv(313, 75%, 69%)
CMYKcmyk(0%, 74.9%, 16%, 31.4%)
CIE-LABlab(42.80, 61.91, -27.09)
CIE-LCHlch(42.80, 67.58, 336.37°)
OKLaboklab(53.31% 0.1833 -0.0735)
OKLCHoklch(53.31% 0.198 338.2)
XYZxyz(23.8469, 13.0242, 28.8561)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C93 #2CAF48
analogous
#892CAF #AF2C93 #AF2C52
triadic
#AF2C93 #93AF2C #2C93AF
tetradic
#AF2C93 #AF892C #2CAF48 #2C52AF
square
#AF2C93 #AF892C #2CAF48 #2C52AF
split-complementary
#AF2C93 #52AF2C #2CAF89
monochromatic
#4D1341 #7E206A #AF2C93 #D147B3 #DD78C8

Accessibility & contrast

On white

5.83
#AF2C93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AF2C93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C93
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C93#FFFFFF#000000##FFFFFF
##AF2C931.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325896
Deuteranopia (green-blind)
#5E6C90
Tritanopia (blue-blind)
#B9335C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af2c93;
/* rgb */ color: rgb(175, 44, 147);
/* oklch */ color: oklch(53.3% 0.198 338.2);
Tailwind
colors: {
  custom: {
    50: '#cb73b3',
    500: '#af2c93',
    950: '#000000',
  },
}
SCSS
$custom: #af2c93;
$custom-light: #cb73b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c93",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 312.824,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53307,
    "c": 0.19751,
    "h": 338.2
  },
  "luminance": 0.13022
}

Semantic roles & 50–950 ramp

primary
#AF2C93
secondary
#72C584
accent
#E36745
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF2C93

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

Preview Lab → · Contrast checker → · Palette generator →

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