#AF2C6C#AF2C6C

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

Color values

HEX#AF2C6C
RGBrgb(175, 44, 108)
HSLhsl(331, 60%, 43%)
HSVhsv(331, 75%, 69%)
CMYKcmyk(0%, 74.9%, 38.3%, 31.4%)
CIE-LABlab(41.22, 57.02, -5.51)
CIE-LCHlch(41.22, 57.29, 354.48°)
OKLaboklab(51.64% 0.1751 -0.0138)
OKLCHoklch(51.64% 0.176 355.5)
XYZxyz(21.2881, 12.0007, 15.3798)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C6C #2CAF6F
analogous
#AF2CAD #AF2C6C #AF2E2C
triadic
#AF2C6C #6CAF2C #2C6CAF
tetradic
#AF2C6C #ADAF2C #2CAF6F #2E2CAF
square
#AF2C6C #ADAF2C #2CAF6F #2E2CAF
split-complementary
#AF2C6C #2CAF2E #2CADAF
monochromatic
#4D1330 #7E204E #AF2C6C #D1478B #DD78AA

Accessibility & contrast

On white

6.18
#AF2C6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2C6C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C6C#FFFFFF#000000##FFFFFF
##AF2C6C1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526E
Deuteranopia (green-blind)
#6A6A69
Tritanopia (blue-blind)
#BD1D48
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2c6c;
/* rgb */ color: rgb(175, 44, 108);
/* oklch */ color: oklch(51.6% 0.176 355.5);
Tailwind
colors: {
  custom: {
    50: '#cc7196',
    500: '#af2c6c',
    950: '#000000',
  },
}
SCSS
$custom: #af2c6c;
$custom-light: #cc7196;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c6c",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 108
  },
  "hsl": {
    "h": 330.687,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51638,
    "c": 0.1756,
    "h": 355.5
  },
  "luminance": 0.11998
}

Semantic roles & 50–950 ramp

primary
#AF2C6C
secondary
#72C59C
accent
#E39645
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2C6C

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

Preview Lab → · Contrast checker → · Palette generator →

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