#AF3894#AF3894

#AF3894 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.4% C 0.184 H 338.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#AF3894
RGBrgb(175, 56, 148)
HSLhsl(314, 52%, 45%)
HSVhsv(314, 68%, 69%)
CMYKcmyk(0%, 68%, 15.4%, 31.4%)
CIE-LABlab(44.35, 57.81, -25.28)
CIE-LCHlch(44.35, 63.10, 336.38°)
OKLaboklab(54.45% 0.1707 -0.0684)
OKLCHoklch(54.45% 0.184 338.2)
XYZxyz(24.4391, 14.0826, 29.4423)
Luminance0.1408 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3894 #38AF53
analogous
#8E38AF #AF3894 #AF3859
triadic
#AF3894 #94AF38 #3894AF
tetradic
#AF3894 #AF8E38 #38AF53 #3859AF
square
#AF3894 #AF8E38 #38AF53 #3859AF
split-complementary
#AF3894 #59AF38 #38AF8E
monochromatic
#521A46 #81296D #AF3894 #CA5AB1 #D988C7

Accessibility & contrast

On white

5.50
#AF3894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF3894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3894
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3894#FFFFFF#000000##FFFFFF
##AF38941.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5D97
Deuteranopia (green-blind)
#637091
Tritanopia (blue-blind)
#B93D61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3894;
/* rgb */ color: rgb(175, 56, 148);
/* oklch */ color: oklch(54.4% 0.184 338.2);
Tailwind
colors: {
  custom: {
    50: '#ca78b3',
    500: '#af3894',
    950: '#000000',
  },
}
SCSS
$custom: #af3894;
$custom-light: #ca78b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3894",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 313.613,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54447,
    "c": 0.18393,
    "h": 338.2
  },
  "luminance": 0.1408
}

Semantic roles & 50–950 ramp

primary
#AF3894
secondary
#80C38F
accent
#DB6D4D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3894

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

Preview Lab → · Contrast checker → · Palette generator →

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