#AF2A75#AF2A75

#AF2A75 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.182 H 351.0°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF2A75
RGBrgb(175, 42, 117)
HSLhsl(326, 61%, 43%)
HSVhsv(326, 76%, 69%)
CMYKcmyk(0%, 76%, 33.1%, 31.4%)
CIE-LABlab(41.31, 58.67, -10.98)
CIE-LCHlch(41.31, 59.69, 349.40°)
OKLaboklab(51.81% 0.1796 -0.0285)
OKLCHoklch(51.81% 0.182 351)
XYZxyz(21.7193, 12.0568, 18.0096)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A75 #2AAF64
analogous
#A62AAF #AF2A75 #AF2A33
triadic
#AF2A75 #75AF2A #2A75AF
tetradic
#AF2A75 #AFA62A #2AAF64 #2A33AF
square
#AF2A75 #AFA62A #2AAF64 #2A33AF
split-complementary
#AF2A75 #33AF2A #2AAFA6
monochromatic
#4C1233 #7E1E54 #AF2A75 #D24494 #DE75B0

Accessibility & contrast

On white

6.16
#AF2A75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF2A75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A75
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A75#FFFFFF#000000##FFFFFF
##AF2A751.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415277
Deuteranopia (green-blind)
#676A72
Tritanopia (blue-blind)
#BC204C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2a75;
/* rgb */ color: rgb(175, 42, 117);
/* oklch */ color: oklch(51.8% 0.182 351.0);
Tailwind
colors: {
  custom: {
    50: '#cb719c',
    500: '#af2a75',
    950: '#000000',
  },
}
SCSS
$custom: #af2a75;
$custom-light: #cb719c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a75",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 117
  },
  "hsl": {
    "h": 326.165,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51808,
    "c": 0.18189,
    "h": 351
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#AF2A75
secondary
#6FC695
accent
#E48A43
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2A75

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

Preview Lab → · Contrast checker → · Palette generator →

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