#AF3A64#AF3A64

#AF3A64 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 52.8% C 0.156 H 2.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AF3A64
RGBrgb(175, 58, 100)
HSLhsl(338, 50%, 46%)
HSVhsv(338, 67%, 69%)
CMYKcmyk(0%, 66.9%, 42.9%, 31.4%)
CIE-LABlab(42.86, 50.93, 1.89)
CIE-LCHlch(42.86, 50.96, 2.12°)
OKLaboklab(52.77% 0.1557 0.0055)
OKLCHoklch(52.77% 0.156 2)
XYZxyz(21.4940, 13.0628, 13.4436)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A64 #3AAF85
analogous
#AF3A9E #AF3A64 #AF4B3A
triadic
#AF3A64 #64AF3A #3A64AF
tetradic
#AF3A64 #9EAF3A #3AAF85 #4B3AAF
square
#AF3A64 #9EAF3A #3AAF85 #4B3AAF
split-complementary
#AF3A64 #3AAF4B #3A9EAF
monochromatic
#531C2F #812B4A #AF3A64 #C95D84 #D98BA7

Accessibility & contrast

On white

5.81
#AF3A64 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF3A64 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A64
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A64#FFFFFF#000000##FFFFFF
##AF3A641.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525765
Deuteranopia (green-blind)
#716E61
Tritanopia (blue-blind)
#BE2B4B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3a64;
/* rgb */ color: rgb(175, 58, 100);
/* oklch */ color: oklch(52.8% 0.156 2.0);
Tailwind
colors: {
  custom: {
    50: '#cb7890',
    500: '#af3a64',
    950: '#000000',
  },
}
SCSS
$custom: #af3a64;
$custom-light: #cb7890;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a64",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 100
  },
  "hsl": {
    "h": 338.462,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.15583,
    "h": 2
  },
  "luminance": 0.1306
}

Semantic roles & 50–950 ramp

primary
#AF3A64
secondary
#82C3AC
accent
#DAA84E
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF3A64

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

Preview Lab → · Contrast checker → · Palette generator →

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