#AF3D9A#AF3D9A

#AF3D9A is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.3% C 0.182 H 335.8°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#AF3D9A
RGBrgb(175, 61, 154)
HSLhsl(311, 48%, 46%)
HSVhsv(311, 65%, 69%)
CMYKcmyk(0%, 65.1%, 12%, 31.4%)
CIE-LABlab(45.34, 56.73, -27.34)
CIE-LCHlch(45.34, 62.98, 334.27°)
OKLaboklab(55.26% 0.1657 -0.0744)
OKLCHoklch(55.26% 0.182 335.8)
XYZxyz(25.1810, 14.7866, 32.0935)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D9A #3DAF52
analogous
#8B3DAF #AF3D9A #AF3D61
triadic
#AF3D9A #9AAF3D #3D9AAF
tetradic
#AF3D9A #AF8B3D #3DAF52 #3D61AF
square
#AF3D9A #AF8B3D #3DAF52 #3D61AF
split-complementary
#AF3D9A #61AF3D #3DAF8B
monochromatic
#541D4A #822D72 #AF3D9A #C861B5 #D88FCA

Accessibility & contrast

On white

5.31
#AF3D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3D9A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D9A#FFFFFF#000000##FFFFFF
##AF3D9A1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E609D
Deuteranopia (green-blind)
#637297
Tritanopia (blue-blind)
#B84466
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3d9a;
/* rgb */ color: rgb(175, 61, 154);
/* oklch */ color: oklch(55.3% 0.182 335.8);
Tailwind
colors: {
  custom: {
    50: '#ca7bb8',
    500: '#af3d9a',
    950: '#000000',
  },
}
SCSS
$custom: #af3d9a;
$custom-light: #ca7bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d9a",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 154
  },
  "hsl": {
    "h": 311.053,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55257,
    "c": 0.1816,
    "h": 335.8
  },
  "luminance": 0.14785
}

Semantic roles & 50–950 ramp

primary
#AF3D9A
secondary
#85C390
accent
#D86950
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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