#AF3893#AF3893

#AF3893 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.4% C 0.183 H 338.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AF3893
RGBrgb(175, 56, 147)
HSLhsl(314, 52%, 45%)
HSVhsv(314, 68%, 69%)
CMYKcmyk(0%, 68%, 16%, 31.4%)
CIE-LABlab(44.31, 57.66, -24.74)
CIE-LCHlch(44.31, 62.75, 336.78°)
OKLaboklab(54.4% 0.1706 -0.0669)
OKLCHoklch(54.4% 0.183 338.6)
XYZxyz(24.3603, 14.0511, 29.0273)
Luminance0.1405 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3893 #38AF54
analogous
#9038AF #AF3893 #AF3857
triadic
#AF3893 #93AF38 #3893AF
tetradic
#AF3893 #AF9038 #38AF54 #3857AF
square
#AF3893 #AF9038 #38AF54 #3857AF
split-complementary
#AF3893 #57AF38 #38AF90
monochromatic
#521A45 #81296C #AF3893 #CA5AB0 #D988C6

Accessibility & contrast

On white

5.51
#AF3893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF3893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3893
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3893#FFFFFF#000000##FFFFFF
##AF38931.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5D96
Deuteranopia (green-blind)
#637090
Tritanopia (blue-blind)
#B93D60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3893;
/* rgb */ color: rgb(175, 56, 147);
/* oklch */ color: oklch(54.4% 0.183 338.6);
Tailwind
colors: {
  custom: {
    50: '#ca78b3',
    500: '#af3893',
    950: '#000000',
  },
}
SCSS
$custom: #af3893;
$custom-light: #ca78b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3893",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 147
  },
  "hsl": {
    "h": 314.118,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54399,
    "c": 0.18324,
    "h": 338.6
  },
  "luminance": 0.14049
}

Semantic roles & 50–950 ramp

primary
#AF3893
secondary
#80C390
accent
#DB6E4D
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3893

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

Preview Lab → · Contrast checker → · Palette generator →

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