#AF2A92#AF2A92

#AF2A92 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.1% C 0.199 H 338.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF2A92
RGBrgb(175, 42, 146)
HSLhsl(313, 61%, 43%)
HSVhsv(313, 76%, 69%)
CMYKcmyk(0%, 76%, 16.6%, 31.4%)
CIE-LABlab(42.53, 62.39, -26.90)
CIE-LCHlch(42.53, 67.94, 336.68°)
OKLaboklab(53.1% 0.1851 -0.0729)
OKLCHoklch(53.1% 0.199 338.5)
XYZxyz(23.6960, 12.8475, 28.4204)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A92 #2AAF47
analogous
#8A2AAF #AF2A92 #AF2A4F
triadic
#AF2A92 #92AF2A #2A92AF
tetradic
#AF2A92 #AF8A2A #2AAF47 #2A4FAF
square
#AF2A92 #AF8A2A #2AAF47 #2A4FAF
split-complementary
#AF2A92 #4FAF2A #2AAF8A
monochromatic
#4C1240 #7E1E69 #AF2A92 #D244B3 #DE75C7

Accessibility & contrast

On white

5.88
#AF2A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF2A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A92
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A92#FFFFFF#000000##FFFFFF
##AF2A921.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315795
Deuteranopia (green-blind)
#5E6C8F
Tritanopia (blue-blind)
#B9315B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2a92;
/* rgb */ color: rgb(175, 42, 146);
/* oklch */ color: oklch(53.1% 0.199 338.5);
Tailwind
colors: {
  custom: {
    50: '#cb72b2',
    500: '#af2a92',
    950: '#000000',
  },
}
SCSS
$custom: #af2a92;
$custom-light: #cb72b2;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a92",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 313.083,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53099,
    "c": 0.19895,
    "h": 338.5
  },
  "luminance": 0.12845
}

Semantic roles & 50–950 ramp

primary
#AF2A92
secondary
#6FC682
accent
#E46743
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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