#AF3A74#AF3A74

#AF3A74 is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.3% C 0.162 H 353.4°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#AF3A74
RGBrgb(175, 58, 116)
HSLhsl(330, 50%, 46%)
HSVhsv(330, 67%, 69%)
CMYKcmyk(0%, 66.9%, 33.7%, 31.4%)
CIE-LABlab(43.37, 52.71, -7.27)
CIE-LCHlch(43.37, 53.21, 352.15°)
OKLaboklab(53.31% 0.161 -0.0186)
OKLCHoklch(53.31% 0.162 353.4)
XYZxyz(22.3459, 13.4035, 17.9300)
Luminance0.1340 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A74 #3AAF75
analogous
#AF3AAF #AF3A74 #AF3A3A
triadic
#AF3A74 #74AF3A #3A74AF
tetradic
#AF3A74 #AFAF3A #3AAF75 #3A3AAF
square
#AF3A74 #AFAF3A #3AAF75 #3A3AAF
split-complementary
#AF3A74 #3AAF3A #3AAFAF
monochromatic
#531C37 #812B56 #AF3A74 #C95D93 #D98BB1

Accessibility & contrast

On white

5.71
#AF3A74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AF3A74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A74
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A74#FFFFFF#000000##FFFFFF
##AF3A741.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5976
Deuteranopia (green-blind)
#6D6E71
Tritanopia (blue-blind)
#BC3252
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3a74;
/* rgb */ color: rgb(175, 58, 116);
/* oklch */ color: oklch(53.3% 0.162 353.4);
Tailwind
colors: {
  custom: {
    50: '#cb789c',
    500: '#af3a74',
    950: '#000000',
  },
}
SCSS
$custom: #af3a74;
$custom-light: #cb789c;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a74",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 116
  },
  "hsl": {
    "h": 330.256,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53307,
    "c": 0.16207,
    "h": 353.4
  },
  "luminance": 0.13401
}

Semantic roles & 50–950 ramp

primary
#AF3A74
secondary
#82C3A3
accent
#DA944E
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3A74

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

Preview Lab → · Contrast checker → · Palette generator →

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