#AF3E85#AF3E85

#AF3E85 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.4% C 0.166 H 345.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#AF3E85
RGBrgb(175, 62, 133)
HSLhsl(322, 48%, 46%)
HSVhsv(322, 65%, 69%)
CMYKcmyk(0%, 64.6%, 24%, 31.4%)
CIE-LABlab(44.60, 53.23, -15.82)
CIE-LCHlch(44.60, 55.53, 343.45°)
OKLaboklab(54.42% 0.1604 -0.0419)
OKLCHoklch(54.42% 0.166 345.3)
XYZxyz(23.6363, 14.2550, 23.6924)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E85 #3EAF68
analogous
#A13EAF #AF3E85 #AF3E4D
triadic
#AF3E85 #85AF3E #3E85AF
tetradic
#AF3E85 #AFA13E #3EAF68 #3E4DAF
square
#AF3E85 #AFA13E #3EAF68 #3E4DAF
split-complementary
#AF3E85 #4DAF3E #3EAFA1
monochromatic
#551E40 #822E63 #AF3E85 #C863A2 #D890BD

Accessibility & contrast

On white

5.45
#AF3E85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AF3E85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E85
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E85#FFFFFF#000000##FFFFFF
##AF3E851.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5D87
Deuteranopia (green-blind)
#6A7182
Tritanopia (blue-blind)
#BA3C5C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3e85;
/* rgb */ color: rgb(175, 62, 133);
/* oklch */ color: oklch(54.4% 0.166 345.3);
Tailwind
colors: {
  custom: {
    50: '#ca7ba8',
    500: '#af3e85',
    950: '#000000',
  },
}
SCSS
$custom: #af3e85;
$custom-light: #ca7ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e85",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 133
  },
  "hsl": {
    "h": 322.301,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54419,
    "c": 0.16581,
    "h": 345.3
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#AF3E85
secondary
#86C39D
accent
#D78351
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF3E85

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

Preview Lab → · Contrast checker → · Palette generator →

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