#AF2C6E#AF2C6E

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

Color values

HEX#AF2C6E
RGBrgb(175, 44, 110)
HSLhsl(330, 60%, 43%)
HSVhsv(330, 75%, 69%)
CMYKcmyk(0%, 74.9%, 37.1%, 31.4%)
CIE-LABlab(41.29, 57.24, -6.65)
CIE-LCHlch(41.29, 57.62, 353.37°)
OKLaboklab(51.71% 0.1757 -0.0168)
OKLCHoklch(51.71% 0.176 354.5)
XYZxyz(21.3957, 12.0437, 15.9468)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C6E #2CAF6D
analogous
#AE2CAF #AF2C6E #AF2C2D
triadic
#AF2C6E #6EAF2C #2C6EAF
tetradic
#AF2C6E #AFAE2C #2CAF6D #2C2DAF
square
#AF2C6E #AFAE2C #2CAF6D #2C2DAF
split-complementary
#AF2C6E #2DAF2C #2CAFAE
monochromatic
#4D1331 #7E204F #AF2C6E #D1478D #DD78AB

Accessibility & contrast

On white

6.16
#AF2C6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF2C6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C6E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C6E#FFFFFF#000000##FFFFFF
##AF2C6E1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455270
Deuteranopia (green-blind)
#6A6A6B
Tritanopia (blue-blind)
#BD1E49
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2c6e;
/* rgb */ color: rgb(175, 44, 110);
/* oklch */ color: oklch(51.7% 0.176 354.5);
Tailwind
colors: {
  custom: {
    50: '#cc7197',
    500: '#af2c6e',
    950: '#000000',
  },
}
SCSS
$custom: #af2c6e;
$custom-light: #cc7197;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c6e",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 110
  },
  "hsl": {
    "h": 329.771,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51711,
    "c": 0.17646,
    "h": 354.5
  },
  "luminance": 0.12041
}

Semantic roles & 50–950 ramp

primary
#AF2C6E
secondary
#72C59B
accent
#E39345
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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