#AF4091#AF4091

#AF4091 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.2% C 0.171 H 339.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#AF4091
RGBrgb(175, 64, 145)
HSLhsl(316, 46%, 47%)
HSVhsv(316, 63%, 69%)
CMYKcmyk(0%, 63.4%, 17.1%, 31.4%)
CIE-LABlab(45.40, 54.10, -21.85)
CIE-LCHlch(45.40, 58.35, 338.01°)
OKLaboklab(55.17% 0.1604 -0.0588)
OKLCHoklch(55.17% 0.171 339.9)
XYZxyz(24.6240, 14.8273, 28.3477)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4091 #40AF5E
analogous
#9640AF #AF4091 #AF405A
triadic
#AF4091 #91AF40 #4091AF
tetradic
#AF4091 #AF9640 #40AF5E #405AAF
square
#AF4091 #AF9640 #40AF5E #405AAF
split-complementary
#AF4091 #5AAF40 #40AF96
monochromatic
#551F47 #82306C #AF4091 #C765AC #D792C5

Accessibility & contrast

On white

5.30
#AF4091 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#AF4091 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4091
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4091#FFFFFF#000000##FFFFFF
##AF40911.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466093
Deuteranopia (green-blind)
#68728E
Tritanopia (blue-blind)
#B94363
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4091;
/* rgb */ color: rgb(175, 64, 145);
/* oklch */ color: oklch(55.2% 0.171 339.9);
Tailwind
colors: {
  custom: {
    50: '#ca7cb1',
    500: '#af4091',
    950: '#000000',
  },
}
SCSS
$custom: #af4091;
$custom-light: #ca7cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4091",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 145
  },
  "hsl": {
    "h": 316.216,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55167,
    "c": 0.17088,
    "h": 339.9
  },
  "luminance": 0.14825
}

Semantic roles & 50–950 ramp

primary
#AF4091
secondary
#88C398
accent
#D67552
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF4091

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

Preview Lab → · Contrast checker → · Palette generator →

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