#AF2D68#AF2D68

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

Color values

HEX#AF2D68
RGBrgb(175, 45, 104)
HSLhsl(333, 59%, 43%)
HSVhsv(333, 74%, 69%)
CMYKcmyk(0%, 74.3%, 40.6%, 31.4%)
CIE-LABlab(41.20, 56.26, -3.02)
CIE-LCHlch(41.20, 56.34, 356.92°)
OKLaboklab(51.59% 0.1727 -0.0072)
OKLCHoklch(51.59% 0.173 357.6)
XYZxyz(21.1178, 11.9929, 14.2968)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D68 #2DAF74
analogous
#AF2DA9 #AF2D68 #AF332D
triadic
#AF2D68 #68AF2D #2D68AF
tetradic
#AF2D68 #A9AF2D #2DAF74 #332DAF
square
#AF2D68 #A9AF2D #2DAF74 #332DAF
split-complementary
#AF2D68 #2DAF33 #2DA9AF
monochromatic
#4E142E #7E204B #AF2D68 #D04986 #DD7AA7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2D68#FFFFFF#000000##FFFFFF
##AF2D681.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)
#48526A
Deuteranopia (green-blind)
#6C6A65
Tritanopia (blue-blind)
#BD1B47
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2d68;
/* rgb */ color: rgb(175, 45, 104);
/* oklch */ color: oklch(51.6% 0.173 357.6);
Tailwind
colors: {
  custom: {
    50: '#cc7293',
    500: '#af2d68',
    950: '#000000',
  },
}
SCSS
$custom: #af2d68;
$custom-light: #cc7293;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d68",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 332.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51586,
    "c": 0.17289,
    "h": 357.6
  },
  "luminance": 0.1199
}

Semantic roles & 50–950 ramp

primary
#AF2D68
secondary
#73C5A0
accent
#E29B46
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2D68

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

Preview Lab → · Contrast checker → · Palette generator →

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