#AF2C92#AF2C92

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

Color values

HEX#AF2C92
RGBrgb(175, 44, 146)
HSLhsl(313, 60%, 43%)
HSVhsv(313, 75%, 69%)
CMYKcmyk(0%, 74.9%, 16.6%, 31.4%)
CIE-LABlab(42.75, 61.77, -26.56)
CIE-LCHlch(42.75, 67.23, 336.74°)
OKLaboklab(53.26% 0.1832 -0.072)
OKLCHoklch(53.26% 0.197 338.5)
XYZxyz(23.7687, 12.9929, 28.4447)
Luminance0.1299 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C92 #2CAF49
analogous
#8A2CAF #AF2C92 #AF2C51
triadic
#AF2C92 #92AF2C #2C92AF
tetradic
#AF2C92 #AF8A2C #2CAF49 #2C51AF
square
#AF2C92 #AF8A2C #2CAF49 #2C51AF
split-complementary
#AF2C92 #51AF2C #2CAF8A
monochromatic
#4D1340 #7E2069 #AF2C92 #D147B2 #DD78C7

Accessibility & contrast

On white

5.84
#AF2C92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2C92
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C92#FFFFFF#000000##FFFFFF
##AF2C921.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335895
Deuteranopia (green-blind)
#5F6C8F
Tritanopia (blue-blind)
#B9325C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af2c92;
/* rgb */ color: rgb(175, 44, 146);
/* oklch */ color: oklch(53.3% 0.197 338.5);
Tailwind
colors: {
  custom: {
    50: '#cb73b2',
    500: '#af2c92',
    950: '#000000',
  },
}
SCSS
$custom: #af2c92;
$custom-light: #cb73b2;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c92",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 313.282,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53257,
    "c": 0.19684,
    "h": 338.5
  },
  "luminance": 0.12991
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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