#AF4085#AF4085

#AF4085 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.6% C 0.163 H 345.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AF4085
RGBrgb(175, 64, 133)
HSLhsl(323, 46%, 47%)
HSVhsv(323, 63%, 69%)
CMYKcmyk(0%, 63.4%, 24%, 31.4%)
CIE-LABlab(44.91, 52.38, -15.34)
CIE-LCHlch(44.91, 54.58, 343.67°)
OKLaboklab(54.65% 0.1578 -0.0406)
OKLCHoklch(54.65% 0.163 345.6)
XYZxyz(23.7471, 14.4765, 23.7294)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4085 #40AF6A
analogous
#A240AF #AF4085 #AF404D
triadic
#AF4085 #85AF40 #4085AF
tetradic
#AF4085 #AFA240 #40AF6A #404DAF
square
#AF4085 #AFA240 #40AF6A #404DAF
split-complementary
#AF4085 #4DAF40 #40AFA2
monochromatic
#551F41 #823063 #AF4085 #C765A2 #D792BD

Accessibility & contrast

On white

5.39
#AF4085 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AF4085 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4085
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4085#FFFFFF#000000##FFFFFF
##AF40851.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5E87
Deuteranopia (green-blind)
#6B7182
Tritanopia (blue-blind)
#BA3E5D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4085;
/* rgb */ color: rgb(175, 64, 133);
/* oklch */ color: oklch(54.6% 0.163 345.6);
Tailwind
colors: {
  custom: {
    50: '#ca7ca8',
    500: '#af4085',
    950: '#000000',
  },
}
SCSS
$custom: #af4085;
$custom-light: #ca7ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4085",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 133
  },
  "hsl": {
    "h": 322.703,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54649,
    "c": 0.16295,
    "h": 345.6
  },
  "luminance": 0.14474
}

Semantic roles & 50–950 ramp

primary
#AF4085
secondary
#88C39E
accent
#D68452
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4085

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

Preview Lab → · Contrast checker → · Palette generator →

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