#AF2780#AF2780

#AF2780 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.191 H 345.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AF2780
RGBrgb(175, 39, 128)
HSLhsl(321, 64%, 42%)
HSVhsv(321, 78%, 69%)
CMYKcmyk(0%, 77.7%, 26.9%, 31.4%)
CIE-LABlab(41.42, 60.91, -17.62)
CIE-LCHlch(41.42, 63.41, 343.86°)
OKLaboklab(52.03% 0.185 -0.0468)
OKLCHoklch(52.03% 0.191 345.8)
XYZxyz(22.3020, 12.1260, 21.5840)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2780 #27AF56
analogous
#9A27AF #AF2780 #AF273C
triadic
#AF2780 #80AF27 #2780AF
tetradic
#AF2780 #AF9A27 #27AF56 #273CAF
square
#AF2780 #AF9A27 #27AF56 #273CAF
split-complementary
#AF2780 #3CAF27 #27AF9A
monochromatic
#4B1137 #7D1C5B #AF2780 #D43FA1 #DF71B9

Accessibility & contrast

On white

6.13
#AF2780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF2780 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2780
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2780#FFFFFF#000000##FFFFFF
##AF27801.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5382
Deuteranopia (green-blind)
#636A7D
Tritanopia (blue-blind)
#BB2351
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2780;
/* rgb */ color: rgb(175, 39, 128);
/* oklch */ color: oklch(52.0% 0.191 345.8);
Tailwind
colors: {
  custom: {
    50: '#cb70a5',
    500: '#af2780',
    950: '#000000',
  },
}
SCSS
$custom: #af2780;
$custom-light: #cb70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2780",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 128
  },
  "hsl": {
    "h": 320.735,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5203,
    "c": 0.19085,
    "h": 345.8
  },
  "luminance": 0.12124
}

Semantic roles & 50–950 ramp

primary
#AF2780
secondary
#6BC68B
accent
#E77A41
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2780

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

Preview Lab → · Contrast checker → · Palette generator →

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