#AF2C6D#AF2C6D

#AF2C6D is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.176 H 355.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AF2C6D
RGBrgb(175, 44, 109)
HSLhsl(330, 60%, 43%)
HSVhsv(330, 75%, 69%)
CMYKcmyk(0%, 74.9%, 37.7%, 31.4%)
CIE-LABlab(41.25, 57.13, -6.08)
CIE-LCHlch(41.25, 57.45, 353.92°)
OKLaboklab(51.67% 0.1754 -0.0153)
OKLCHoklch(51.67% 0.176 355)
XYZxyz(21.3416, 12.0221, 15.6617)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C6D #2CAF6E
analogous
#AF2CAE #AF2C6D #AF2D2C
triadic
#AF2C6D #6DAF2C #2C6DAF
tetradic
#AF2C6D #AEAF2C #2CAF6E #2D2CAF
square
#AF2C6D #AEAF2C #2CAF6E #2D2CAF
split-complementary
#AF2C6D #2CAF2D #2CAEAF
monochromatic
#4D1330 #7E204F #AF2C6D #D1478C #DD78AA

Accessibility & contrast

On white

6.17
#AF2C6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AF2C6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C6D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C6D#FFFFFF#000000##FFFFFF
##AF2C6D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526F
Deuteranopia (green-blind)
#6A6A6A
Tritanopia (blue-blind)
#BD1D49
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2c6d;
/* rgb */ color: rgb(175, 44, 109);
/* oklch */ color: oklch(51.7% 0.176 355.0);
Tailwind
colors: {
  custom: {
    50: '#cc7196',
    500: '#af2c6d',
    950: '#000000',
  },
}
SCSS
$custom: #af2c6d;
$custom-light: #cc7196;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c6d",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 109
  },
  "hsl": {
    "h": 330.229,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51674,
    "c": 0.17603,
    "h": 355
  },
  "luminance": 0.12019
}

Semantic roles & 50–950 ramp

primary
#AF2C6D
secondary
#72C59C
accent
#E39545
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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