#AF2672#AF2672

#AF2672 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.185 H 352.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AF2672
RGBrgb(175, 38, 114)
HSLhsl(327, 64%, 42%)
HSVhsv(327, 78%, 69%)
CMYKcmyk(0%, 78.3%, 34.9%, 31.4%)
CIE-LABlab(40.76, 59.56, -9.93)
CIE-LCHlch(40.76, 60.38, 350.53°)
OKLaboklab(51.38% 0.1827 -0.0256)
OKLCHoklch(51.38% 0.185 352)
XYZxyz(21.4109, 11.7177, 17.0506)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2672 #26AF63
analogous
#A826AF #AF2672 #AF262E
triadic
#AF2672 #72AF26 #2672AF
tetradic
#AF2672 #AFA826 #26AF63 #262EAF
square
#AF2672 #AFA826 #26AF63 #262EAF
split-complementary
#AF2672 #2EAF26 #26AFA8
monochromatic
#4A1030 #7D1B51 #AF2672 #D53D91 #E070AE

Accessibility & contrast

On white

6.28
#AF2672 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF2672 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2672
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2672#FFFFFF#000000##FFFFFF
##AF26721.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405074
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#BD1849
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2672;
/* rgb */ color: rgb(175, 38, 114);
/* oklch */ color: oklch(51.4% 0.185 352.0);
Tailwind
colors: {
  custom: {
    50: '#cc6f9a',
    500: '#af2672',
    950: '#000000',
  },
}
SCSS
$custom: #af2672;
$custom-light: #cc6f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2672",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 114
  },
  "hsl": {
    "h": 326.715,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51376,
    "c": 0.18451,
    "h": 352
  },
  "luminance": 0.11715
}

Semantic roles & 50–950 ramp

primary
#AF2672
secondary
#6AC793
accent
#E78B40
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2672

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

Preview Lab → · Contrast checker → · Palette generator →

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