#AF2D6E#AF2D6E

#AF2D6E is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.175 H 354.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AF2D6E
RGBrgb(175, 45, 110)
HSLhsl(330, 59%, 43%)
HSVhsv(330, 74%, 69%)
CMYKcmyk(0%, 74.3%, 37.1%, 31.4%)
CIE-LABlab(41.40, 56.90, -6.48)
CIE-LCHlch(41.40, 57.27, 353.51°)
OKLaboklab(51.8% 0.1746 -0.0164)
OKLCHoklch(51.8% 0.175 354.6)
XYZxyz(21.4334, 12.1191, 15.9594)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D6E #2DAF6E
analogous
#AF2DAF #AF2D6E #AF2D2D
triadic
#AF2D6E #6EAF2D #2D6EAF
tetradic
#AF2D6E #AFAF2D #2DAF6E #2D2DAF
square
#AF2D6E #AFAF2D #2DAF6E #2D2DAF
split-complementary
#AF2D6E #2DAF2D #2DAFAF
monochromatic
#4E1431 #7E204F #AF2D6E #D0498D #DD7AAB

Accessibility & contrast

On white

6.13
#AF2D6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF2D6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D6E
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D6E#FFFFFF#000000##FFFFFF
##AF2D6E1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465270
Deuteranopia (green-blind)
#6A6A6B
Tritanopia (blue-blind)
#BD1F4A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2d6e;
/* rgb */ color: rgb(175, 45, 110);
/* oklch */ color: oklch(51.8% 0.175 354.6);
Tailwind
colors: {
  custom: {
    50: '#cc7297',
    500: '#af2d6e',
    950: '#000000',
  },
}
SCSS
$custom: #af2d6e;
$custom-light: #cc7297;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d6e",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 330,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51798,
    "c": 0.17536,
    "h": 354.6
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#AF2D6E
secondary
#73C59C
accent
#E29446
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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