#AF439D#AF439D

#AF439D is a mid, vivid pink. Relative luminance 0.156; OKLCH L 56.1% C 0.175 H 334.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#AF439D
RGBrgb(175, 67, 157)
HSLhsl(310, 45%, 47%)
HSVhsv(310, 62%, 69%)
CMYKcmyk(0%, 61.7%, 10.3%, 31.4%)
CIE-LABlab(46.40, 54.67, -27.49)
CIE-LCHlch(46.40, 61.19, 333.31°)
OKLaboklab(56.07% 0.1587 -0.0748)
OKLCHoklch(56.07% 0.175 334.7)
XYZxyz(25.7723, 15.5646, 33.5386)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF439D #43AF55
analogous
#8B43AF #AF439D #AF4367
triadic
#AF439D #9DAF43 #439DAF
tetradic
#AF439D #AF8B43 #43AF55 #4367AF
square
#AF439D #AF8B43 #43AF55 #4367AF
split-complementary
#AF439D #67AF43 #43AF8B
monochromatic
#56214E #833275 #AF439D #C669B6 #D796CC

Accessibility & contrast

On white

5.11
#AF439D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#AF439D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF439D
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF439D#FFFFFF#000000##FFFFFF
##AF439D1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4264A0
Deuteranopia (green-blind)
#65749A
Tritanopia (blue-blind)
#B74A6A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af439d;
/* rgb */ color: rgb(175, 67, 157);
/* oklch */ color: oklch(56.1% 0.175 334.7);
Tailwind
colors: {
  custom: {
    50: '#ca7eba',
    500: '#af439d',
    950: '#000000',
  },
}
SCSS
$custom: #af439d;
$custom-light: #ca7eba;
$custom-dark: #000000;
JSON
{
  "hex": "#af439d",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 157
  },
  "hsl": {
    "h": 310,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56074,
    "c": 0.17541,
    "h": 334.7
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#AF439D
secondary
#8BC295
accent
#D46953
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF439D

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

Preview Lab → · Contrast checker → · Palette generator →

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