#AF2C66#AF2C66

#AF2C66 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.173 H 358.5°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AF2C66
RGBrgb(175, 44, 102)
HSLhsl(333, 60%, 43%)
HSVhsv(333, 75%, 69%)
CMYKcmyk(0%, 74.9%, 41.7%, 31.4%)
CIE-LABlab(41.02, 56.40, -2.04)
CIE-LCHlch(41.02, 56.43, 357.93°)
OKLaboklab(51.43% 0.1732 -0.0047)
OKLCHoklch(51.43% 0.173 358.5)
XYZxyz(20.9797, 11.8773, 13.7556)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C66 #2CAF75
analogous
#AF2CA7 #AF2C66 #AF332C
triadic
#AF2C66 #66AF2C #2C66AF
tetradic
#AF2C66 #A7AF2C #2CAF75 #332CAF
square
#AF2C66 #A7AF2C #2CAF75 #332CAF
split-complementary
#AF2C66 #2CAF33 #2CA7AF
monochromatic
#4D132D #7E2049 #AF2C66 #D14784 #DD78A5

Accessibility & contrast

On white

6.22
#AF2C66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF2C66 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C66
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C66#FFFFFF#000000##FFFFFF
##AF2C661.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485167
Deuteranopia (green-blind)
#6C6A63
Tritanopia (blue-blind)
#BE1945
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2c66;
/* rgb */ color: rgb(175, 44, 102);
/* oklch */ color: oklch(51.4% 0.173 358.5);
Tailwind
colors: {
  custom: {
    50: '#cc7191',
    500: '#af2c66',
    950: '#000000',
  },
}
SCSS
$custom: #af2c66;
$custom-light: #cc7191;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c66",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 102
  },
  "hsl": {
    "h": 333.435,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5143,
    "c": 0.17323,
    "h": 358.5
  },
  "luminance": 0.11875
}

Semantic roles & 50–950 ramp

primary
#AF2C66
secondary
#72C5A0
accent
#E39D45
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2C66

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

Preview Lab → · Contrast checker → · Palette generator →

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