#AF2D66#AF2D66

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

Color values

HEX#AF2D66
RGBrgb(175, 45, 102)
HSLhsl(334, 59%, 43%)
HSVhsv(334, 74%, 69%)
CMYKcmyk(0%, 74.3%, 41.7%, 31.4%)
CIE-LABlab(41.14, 56.06, -1.87)
CIE-LCHlch(41.14, 56.09, 358.09°)
OKLaboklab(51.52% 0.1721 -0.0042)
OKLCHoklch(51.52% 0.172 358.6)
XYZxyz(21.0174, 11.9527, 13.7681)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D66 #2DAF76
analogous
#AF2DA7 #AF2D66 #AF352D
triadic
#AF2D66 #66AF2D #2D66AF
tetradic
#AF2D66 #A7AF2D #2DAF76 #352DAF
square
#AF2D66 #A7AF2D #2DAF76 #352DAF
split-complementary
#AF2D66 #2DAF35 #2DA7AF
monochromatic
#4E142D #7E204A #AF2D66 #D04984 #DD7AA5

Accessibility & contrast

On white

6.19
#AF2D66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF2D66 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D66
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D66#FFFFFF#000000##FFFFFF
##AF2D661.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485167
Deuteranopia (green-blind)
#6C6A63
Tritanopia (blue-blind)
#BE1A46
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2d66;
/* rgb */ color: rgb(175, 45, 102);
/* oklch */ color: oklch(51.5% 0.172 358.6);
Tailwind
colors: {
  custom: {
    50: '#cc7291',
    500: '#af2d66',
    950: '#000000',
  },
}
SCSS
$custom: #af2d66;
$custom-light: #cc7291;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d66",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 102
  },
  "hsl": {
    "h": 333.692,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51518,
    "c": 0.17214,
    "h": 358.6
  },
  "luminance": 0.1195
}

Semantic roles & 50–950 ramp

primary
#AF2D66
secondary
#73C5A1
accent
#E29E46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF2D66

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

Preview Lab → · Contrast checker → · Palette generator →

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