#AF4089#AF4089

#AF4089 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.8% C 0.165 H 343.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AF4089
RGBrgb(175, 64, 137)
HSLhsl(321, 46%, 47%)
HSVhsv(321, 63%, 69%)
CMYKcmyk(0%, 63.4%, 21.7%, 31.4%)
CIE-LABlab(45.07, 52.94, -17.53)
CIE-LCHlch(45.07, 55.77, 341.68°)
OKLaboklab(54.82% 0.1588 -0.0467)
OKLCHoklch(54.82% 0.165 343.6)
XYZxyz(24.0287, 14.5891, 25.2126)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4089 #40AF66
analogous
#9E40AF #AF4089 #AF4051
triadic
#AF4089 #89AF40 #4089AF
tetradic
#AF4089 #AF9E40 #40AF66 #4051AF
square
#AF4089 #AF9E40 #40AF66 #4051AF
split-complementary
#AF4089 #51AF40 #40AF9E
monochromatic
#551F43 #823066 #AF4089 #C765A5 #D792C0

Accessibility & contrast

On white

5.36
#AF4089 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF4089 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4089
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4089#FFFFFF#000000##FFFFFF
##AF40891.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8B
Deuteranopia (green-blind)
#6A7186
Tritanopia (blue-blind)
#BA405F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4089;
/* rgb */ color: rgb(175, 64, 137);
/* oklch */ color: oklch(54.8% 0.165 343.6);
Tailwind
colors: {
  custom: {
    50: '#ca7cab',
    500: '#af4089',
    950: '#000000',
  },
}
SCSS
$custom: #af4089;
$custom-light: #ca7cab;
$custom-dark: #000000;
JSON
{
  "hex": "#af4089",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 137
  },
  "hsl": {
    "h": 320.541,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54816,
    "c": 0.16548,
    "h": 343.6
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#AF4089
secondary
#88C39C
accent
#D67F52
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF4089

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

Preview Lab → · Contrast checker → · Palette generator →

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