#AF2D75#AF2D75

#AF2D75 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.179 H 351.3°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AF2D75
RGBrgb(175, 45, 117)
HSLhsl(327, 59%, 43%)
HSVhsv(327, 74%, 69%)
CMYKcmyk(0%, 74.3%, 33.1%, 31.4%)
CIE-LABlab(41.65, 57.69, -10.46)
CIE-LCHlch(41.65, 58.63, 349.73°)
OKLaboklab(52.06% 0.1766 -0.0271)
OKLCHoklch(52.06% 0.179 351.3)
XYZxyz(21.8297, 12.2776, 18.0464)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D75 #2DAF67
analogous
#A82DAF #AF2D75 #AF2D34
triadic
#AF2D75 #75AF2D #2D75AF
tetradic
#AF2D75 #AFA82D #2DAF67 #2D34AF
square
#AF2D75 #AFA82D #2DAF67 #2D34AF
split-complementary
#AF2D75 #34AF2D #2DAFA8
monochromatic
#4E1434 #7E2054 #AF2D75 #D04994 #DD7AB1

Accessibility & contrast

On white

6.08
#AF2D75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AF2D75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D75
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D75#FFFFFF#000000##FFFFFF
##AF2D751.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435377
Deuteranopia (green-blind)
#686B72
Tritanopia (blue-blind)
#BC234D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2d75;
/* rgb */ color: rgb(175, 45, 117);
/* oklch */ color: oklch(52.1% 0.179 351.3);
Tailwind
colors: {
  custom: {
    50: '#cb729c',
    500: '#af2d75',
    950: '#000000',
  },
}
SCSS
$custom: #af2d75;
$custom-light: #cb729c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d75",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 117
  },
  "hsl": {
    "h": 326.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52062,
    "c": 0.17862,
    "h": 351.3
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#AF2D75
secondary
#73C597
accent
#E28B46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2D75

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

Preview Lab → · Contrast checker → · Palette generator →

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