#AF2F76#AF2F76

#AF2F76 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.177 H 351.0°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AF2F76
RGBrgb(175, 47, 118)
HSLhsl(327, 58%, 44%)
HSVhsv(327, 73%, 69%)
CMYKcmyk(0%, 73.1%, 32.6%, 31.4%)
CIE-LABlab(41.93, 57.12, -10.65)
CIE-LCHlch(41.93, 58.11, 349.44°)
OKLaboklab(52.28% 0.1747 -0.0276)
OKLCHoklch(52.28% 0.177 351)
XYZxyz(21.9669, 12.4575, 18.3838)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F76 #2FAF68
analogous
#A82FAF #AF2F76 #AF2F36
triadic
#AF2F76 #76AF2F #2F76AF
tetradic
#AF2F76 #AFA82F #2FAF68 #2F36AF
square
#AF2F76 #AFA82F #2FAF68 #2F36AF
split-complementary
#AF2F76 #36AF2F #2FAFA8
monochromatic
#4F1535 #7F2255 #AF2F76 #CF4C95 #DC7CB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2F76#FFFFFF#000000##FFFFFF
##AF2F761.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)
#445478
Deuteranopia (green-blind)
#696B73
Tritanopia (blue-blind)
#BC264E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2f76;
/* rgb */ color: rgb(175, 47, 118);
/* oklch */ color: oklch(52.3% 0.177 351.0);
Tailwind
colors: {
  custom: {
    50: '#cb739d',
    500: '#af2f76',
    950: '#000000',
  },
}
SCSS
$custom: #af2f76;
$custom-light: #cb739d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f76",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 326.719,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52279,
    "c": 0.17684,
    "h": 351
  },
  "luminance": 0.12455
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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