#AF3182#AF3182

#AF3182 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.181 H 345.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AF3182
RGBrgb(175, 49, 130)
HSLhsl(321, 56%, 44%)
HSVhsv(321, 72%, 69%)
CMYKcmyk(0%, 72%, 25.7%, 31.4%)
CIE-LABlab(42.65, 57.91, -16.96)
CIE-LCHlch(42.65, 60.34, 343.67°)
OKLaboklab(52.95% 0.1754 -0.045)
OKLCHoklch(52.95% 0.181 345.6)
XYZxyz(22.8077, 12.9247, 22.4083)
Luminance0.1292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3182 #31AF5E
analogous
#9D31AF #AF3182 #AF3143
triadic
#AF3182 #82AF31 #3182AF
tetradic
#AF3182 #AF9D31 #31AF5E #3143AF
square
#AF3182 #AF9D31 #31AF5E #3143AF
split-complementary
#AF3182 #43AF31 #31AF9D
monochromatic
#4F163B #7F245E #AF3182 #CE4FA1 #DB7FBA

Accessibility & contrast

On white

5.86
#AF3182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AF3182 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3182
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3182#FFFFFF#000000##FFFFFF
##AF31821.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405784
Deuteranopia (green-blind)
#666C7F
Tritanopia (blue-blind)
#BB2F55
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3182;
/* rgb */ color: rgb(175, 49, 130);
/* oklch */ color: oklch(53.0% 0.181 345.6);
Tailwind
colors: {
  custom: {
    50: '#cb74a6',
    500: '#af3182',
    950: '#000000',
  },
}
SCSS
$custom: #af3182;
$custom-light: #cb74a6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3182",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 321.429,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52954,
    "c": 0.18104,
    "h": 345.6
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#AF3182
secondary
#78C493
accent
#E07E48
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3182

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

Preview Lab → · Contrast checker → · Palette generator →

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