#AF2F75#AF2F75

#AF2F75 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.176 H 351.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AF2F75
RGBrgb(175, 47, 117)
HSLhsl(327, 58%, 44%)
HSVhsv(327, 73%, 69%)
CMYKcmyk(0%, 73.1%, 33.1%, 31.4%)
CIE-LABlab(41.90, 57.01, -10.09)
CIE-LCHlch(41.90, 57.89, 349.96°)
OKLaboklab(52.24% 0.1744 -0.0261)
OKLCHoklch(52.24% 0.176 351.5)
XYZxyz(21.9078, 12.4339, 18.0725)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F75 #2FAF69
analogous
#A92FAF #AF2F75 #AF2F35
triadic
#AF2F75 #75AF2F #2F75AF
tetradic
#AF2F75 #AFA92F #2FAF69 #2F35AF
square
#AF2F75 #AFA92F #2FAF69 #2F35AF
split-complementary
#AF2F75 #35AF2F #2FAFA9
monochromatic
#4F1534 #7F2255 #AF2F75 #CF4C94 #DC7CB1

Accessibility & contrast

On white

6.02
#AF2F75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AF2F75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F75
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F75#FFFFFF#000000##FFFFFF
##AF2F751.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455477
Deuteranopia (green-blind)
#696B72
Tritanopia (blue-blind)
#BC264E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2f75;
/* rgb */ color: rgb(175, 47, 117);
/* oklch */ color: oklch(52.2% 0.176 351.5);
Tailwind
colors: {
  custom: {
    50: '#cb739c',
    500: '#af2f75',
    950: '#000000',
  },
}
SCSS
$custom: #af2f75;
$custom-light: #cb739c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f75",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 327.188,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5224,
    "c": 0.17634,
    "h": 351.5
  },
  "luminance": 0.12431
}

Semantic roles & 50–950 ramp

primary
#AF2F75
secondary
#75C499
accent
#E18D47
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2F75

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

Preview Lab → · Contrast checker → · Palette generator →

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