#AF2C67#AF2C67

#AF2C67 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.174 H 358.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AF2C67
RGBrgb(175, 44, 103)
HSLhsl(333, 60%, 43%)
HSVhsv(333, 75%, 69%)
CMYKcmyk(0%, 74.9%, 41.1%, 31.4%)
CIE-LABlab(41.05, 56.50, -2.62)
CIE-LCHlch(41.05, 56.56, 357.34°)
OKLaboklab(51.46% 0.1735 -0.0062)
OKLCHoklch(51.46% 0.174 358)
XYZxyz(21.0296, 11.8973, 14.0183)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C67 #2CAF74
analogous
#AF2CA8 #AF2C67 #AF322C
triadic
#AF2C67 #67AF2C #2C67AF
tetradic
#AF2C67 #A8AF2C #2CAF74 #322CAF
square
#AF2C67 #A8AF2C #2CAF74 #322CAF
split-complementary
#AF2C67 #2CAF32 #2CA8AF
monochromatic
#4D132D #7E204A #AF2C67 #D14785 #DD78A6

Accessibility & contrast

On white

6.21
#AF2C67 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2C67
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C67#FFFFFF#000000##FFFFFF
##AF2C671.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485168
Deuteranopia (green-blind)
#6B6A64
Tritanopia (blue-blind)
#BE1946
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2c67;
/* rgb */ color: rgb(175, 44, 103);
/* oklch */ color: oklch(51.5% 0.174 358.0);
Tailwind
colors: {
  custom: {
    50: '#cc7192',
    500: '#af2c67',
    950: '#000000',
  },
}
SCSS
$custom: #af2c67;
$custom-light: #cc7192;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c67",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 103
  },
  "hsl": {
    "h": 332.977,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51463,
    "c": 0.17361,
    "h": 358
  },
  "luminance": 0.11895
}

Semantic roles & 50–950 ramp

primary
#AF2C67
secondary
#72C5A0
accent
#E39C45
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080D
muted
#837B7D

Preview Lab

Preview with #AF2C67

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

Preview Lab → · Contrast checker → · Palette generator →

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