#AF3A85#AF3A85

#AF3A85 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.0% C 0.171 H 345.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AF3A85
RGBrgb(175, 58, 133)
HSLhsl(322, 50%, 46%)
HSVhsv(322, 67%, 69%)
CMYKcmyk(0%, 66.9%, 24%, 31.4%)
CIE-LABlab(44.00, 54.89, -16.73)
CIE-LCHlch(44.00, 57.38, 343.04°)
OKLaboklab(53.98% 0.1655 -0.0445)
OKLCHoklch(53.98% 0.171 345)
XYZxyz(23.4267, 13.8359, 23.6226)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A85 #3AAF64
analogous
#9E3AAF #AF3A85 #AF3A4B
triadic
#AF3A85 #85AF3A #3A85AF
tetradic
#AF3A85 #AF9E3A #3AAF64 #3A4BAF
square
#AF3A85 #AF9E3A #3AAF64 #3A4BAF
split-complementary
#AF3A85 #4BAF3A #3AAF9E
monochromatic
#531C3F #812B62 #AF3A85 #C95DA2 #D98BBD

Accessibility & contrast

On white

5.58
#AF3A85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AF3A85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A85
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A85#FFFFFF#000000##FFFFFF
##AF3A851.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465B87
Deuteranopia (green-blind)
#696F82
Tritanopia (blue-blind)
#BA395A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af3a85;
/* rgb */ color: rgb(175, 58, 133);
/* oklch */ color: oklch(54.0% 0.171 345.0);
Tailwind
colors: {
  custom: {
    50: '#ca79a8',
    500: '#af3a85',
    950: '#000000',
  },
}
SCSS
$custom: #af3a85;
$custom-light: #ca79a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a85",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 321.538,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53979,
    "c": 0.17136,
    "h": 345
  },
  "luminance": 0.13834
}

Semantic roles & 50–950 ramp

primary
#AF3A85
secondary
#82C399
accent
#DA804E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3A85

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

Preview Lab → · Contrast checker → · Palette generator →

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