#AF3C8E#AF3C8E

#AF3C8E is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.6% C 0.174 H 341.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AF3C8E
RGBrgb(175, 60, 142)
HSLhsl(317, 49%, 46%)
HSVhsv(317, 66%, 69%)
CMYKcmyk(0%, 65.7%, 18.9%, 31.4%)
CIE-LABlab(44.66, 55.34, -21.18)
CIE-LCHlch(44.66, 59.25, 339.06°)
OKLaboklab(54.59% 0.1649 -0.0569)
OKLCHoklch(54.59% 0.174 341)
XYZxyz(24.1782, 14.3009, 27.0729)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C8E #3CAF5D
analogous
#963CAF #AF3C8E #AF3C55
triadic
#AF3C8E #8EAF3C #3C8EAF
tetradic
#AF3C8E #AF963C #3CAF5D #3C55AF
square
#AF3C8E #AF963C #3CAF5D #3C55AF
split-complementary
#AF3C8E #55AF3C #3CAF96
monochromatic
#541D44 #812C69 #AF3C8E #C860AA #D88DC3

Accessibility & contrast

On white

5.44
#AF3C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF3C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C8E
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C8E#FFFFFF#000000##FFFFFF
##AF3C8E1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445E90
Deuteranopia (green-blind)
#67708B
Tritanopia (blue-blind)
#B93E5F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3c8e;
/* rgb */ color: rgb(175, 60, 142);
/* oklch */ color: oklch(54.6% 0.174 341.0);
Tailwind
colors: {
  custom: {
    50: '#ca7aaf',
    500: '#af3c8e',
    950: '#000000',
  },
}
SCSS
$custom: #af3c8e;
$custom-light: #ca7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c8e",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 142
  },
  "hsl": {
    "h": 317.217,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54587,
    "c": 0.17444,
    "h": 341
  },
  "luminance": 0.14299
}

Semantic roles & 50–950 ramp

primary
#AF3C8E
secondary
#84C396
accent
#D8774F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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