#AF4185#AF4185

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

Color values

HEX#AF4185
RGBrgb(175, 65, 133)
HSLhsl(323, 46%, 47%)
HSVhsv(323, 63%, 69%)
CMYKcmyk(0%, 62.9%, 24%, 31.4%)
CIE-LABlab(45.07, 51.94, -15.10)
CIE-LCHlch(45.07, 54.09, 343.79°)
OKLaboklab(54.77% 0.1565 -0.04)
OKLCHoklch(54.77% 0.162 345.7)
XYZxyz(23.8040, 14.5903, 23.7483)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4185 #41AF6B
analogous
#A241AF #AF4185 #AF414E
triadic
#AF4185 #85AF41 #4185AF
tetradic
#AF4185 #AFA241 #41AF6B #414EAF
square
#AF4185 #AFA241 #41AF6B #414EAF
split-complementary
#AF4185 #4EAF41 #41AFA2
monochromatic
#562041 #823063 #AF4185 #C667A2 #D793BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4185#FFFFFF#000000##FFFFFF
##AF41851.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)
#4C5F87
Deuteranopia (green-blind)
#6C7282
Tritanopia (blue-blind)
#BA3F5D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4185;
/* rgb */ color: rgb(175, 65, 133);
/* oklch */ color: oklch(54.8% 0.162 345.7);
Tailwind
colors: {
  custom: {
    50: '#ca7ca8',
    500: '#af4185',
    950: '#000000',
  },
}
SCSS
$custom: #af4185;
$custom-light: #ca7ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#af4185",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 133
  },
  "hsl": {
    "h": 322.909,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54766,
    "c": 0.1615,
    "h": 345.7
  },
  "luminance": 0.14588
}

Semantic roles & 50–950 ramp

primary
#AF4185
secondary
#89C29F
accent
#D58452
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4185

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

Preview Lab → · Contrast checker → · Palette generator →

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