#AF2A64#AF2A64

#AF2A64 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.175 H 359.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF2A64
RGBrgb(175, 42, 100)
HSLhsl(334, 61%, 43%)
HSVhsv(334, 76%, 69%)
CMYKcmyk(0%, 76%, 42.9%, 31.4%)
CIE-LABlab(40.72, 56.85, -1.22)
CIE-LCHlch(40.72, 56.87, 358.77°)
OKLaboklab(51.19% 0.1746 -0.0025)
OKLCHoklch(51.19% 0.175 359.2)
XYZxyz(20.8090, 11.6927, 13.2153)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A64 #2AAF75
analogous
#AF2AA6 #AF2A64 #AF332A
triadic
#AF2A64 #64AF2A #2A64AF
tetradic
#AF2A64 #A6AF2A #2AAF75 #332AAF
square
#AF2A64 #A6AF2A #2AAF75 #332AAF
split-complementary
#AF2A64 #2AAF33 #2AA6AF
monochromatic
#4C122C #7E1E48 #AF2A64 #D24482 #DE75A3

Accessibility & contrast

On white

6.29
#AF2A64 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF2A64 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A64
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A64#FFFFFF#000000##FFFFFF
##AF2A641.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475065
Deuteranopia (green-blind)
#6B6961
Tritanopia (blue-blind)
#BE1343
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2a64;
/* rgb */ color: rgb(175, 42, 100);
/* oklch */ color: oklch(51.2% 0.175 359.2);
Tailwind
colors: {
  custom: {
    50: '#cc7090',
    500: '#af2a64',
    950: '#000000',
  },
}
SCSS
$custom: #af2a64;
$custom-light: #cc7090;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a64",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 333.835,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51191,
    "c": 0.17464,
    "h": 359.2
  },
  "luminance": 0.1169
}

Semantic roles & 50–950 ramp

primary
#AF2A64
secondary
#6FC6A0
accent
#E49E43
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2A64

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

Preview Lab → · Contrast checker → · Palette generator →

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