#AF3A7B#AF3A7B

#AF3A7B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.6% C 0.166 H 349.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF3A7B
RGBrgb(175, 58, 123)
HSLhsl(327, 50%, 46%)
HSVhsv(327, 67%, 69%)
CMYKcmyk(0%, 66.9%, 29.7%, 31.4%)
CIE-LABlab(43.61, 53.57, -11.20)
CIE-LCHlch(43.61, 54.73, 348.19°)
OKLaboklab(53.57% 0.163 -0.0292)
OKLCHoklch(53.57% 0.166 349.8)
XYZxyz(22.7685, 13.5726, 20.1558)
Luminance0.1357 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A7B #3AAF6E
analogous
#A93AAF #AF3A7B #AF3A40
triadic
#AF3A7B #7BAF3A #3A7BAF
tetradic
#AF3A7B #AFA93A #3AAF6E #3A40AF
square
#AF3A7B #AFA93A #3AAF6E #3A40AF
split-complementary
#AF3A7B #40AF3A #3AAFA9
monochromatic
#531C3A #812B5B #AF3A7B #C95D99 #D98BB6

Accessibility & contrast

On white

5.65
#AF3A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF3A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A7B
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A7B#FFFFFF#000000##FFFFFF
##AF3A7B1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5A7D
Deuteranopia (green-blind)
#6C6F78
Tritanopia (blue-blind)
#BB3555
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3a7b;
/* rgb */ color: rgb(175, 58, 123);
/* oklch */ color: oklch(53.6% 0.166 349.8);
Tailwind
colors: {
  custom: {
    50: '#cb78a1',
    500: '#af3a7b',
    950: '#000000',
  },
}
SCSS
$custom: #af3a7b;
$custom-light: #cb78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a7b",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 123
  },
  "hsl": {
    "h": 326.667,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53572,
    "c": 0.16559,
    "h": 349.8
  },
  "luminance": 0.1357
}

Semantic roles & 50–950 ramp

primary
#AF3A7B
secondary
#82C39F
accent
#DA8C4E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AF3A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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