#AF4086#AF4086

#AF4086 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.7% C 0.164 H 345.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#AF4086
RGBrgb(175, 64, 134)
HSLhsl(322, 46%, 47%)
HSVhsv(322, 63%, 69%)
CMYKcmyk(0%, 63.4%, 23.4%, 31.4%)
CIE-LABlab(44.95, 52.52, -15.89)
CIE-LCHlch(44.95, 54.87, 343.17°)
OKLaboklab(54.69% 0.1581 -0.0422)
OKLCHoklch(54.69% 0.164 345.1)
XYZxyz(23.8165, 14.5043, 24.0949)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4086 #40AF69
analogous
#A140AF #AF4086 #AF404F
triadic
#AF4086 #86AF40 #4086AF
tetradic
#AF4086 #AFA140 #40AF69 #404FAF
square
#AF4086 #AFA140 #40AF69 #404FAF
split-complementary
#AF4086 #4FAF40 #40AFA1
monochromatic
#551F41 #823064 #AF4086 #C765A3 #D792BE

Accessibility & contrast

On white

5.38
#AF4086 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AF4086 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4086
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4086#FFFFFF#000000##FFFFFF
##AF40861.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5E88
Deuteranopia (green-blind)
#6B7183
Tritanopia (blue-blind)
#BA3F5D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4086;
/* rgb */ color: rgb(175, 64, 134);
/* oklch */ color: oklch(54.7% 0.164 345.1);
Tailwind
colors: {
  custom: {
    50: '#ca7ca9',
    500: '#af4086',
    950: '#000000',
  },
}
SCSS
$custom: #af4086;
$custom-light: #ca7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#af4086",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 134
  },
  "hsl": {
    "h": 322.162,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5469,
    "c": 0.16358,
    "h": 345.1
  },
  "luminance": 0.14502
}

Semantic roles & 50–950 ramp

primary
#AF4086
secondary
#88C39E
accent
#D68352
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF4086

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

Preview Lab → · Contrast checker → · Palette generator →

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