#AF3077#AF3077

#AF3077 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.176 H 350.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AF3077
RGBrgb(175, 48, 119)
HSLhsl(326, 57%, 44%)
HSVhsv(326, 73%, 69%)
CMYKcmyk(0%, 72.6%, 32%, 31.4%)
CIE-LABlab(42.10, 56.89, -11.03)
CIE-LCHlch(42.10, 57.95, 349.03°)
OKLaboklab(52.41% 0.1738 -0.0287)
OKLCHoklch(52.41% 0.176 350.6)
XYZxyz(22.0671, 12.5623, 18.7119)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3077 #30AF68
analogous
#A730AF #AF3077 #AF3037
triadic
#AF3077 #77AF30 #3077AF
tetradic
#AF3077 #AFA730 #30AF68 #3037AF
square
#AF3077 #AFA730 #30AF68 #3037AF
split-complementary
#AF3077 #37AF30 #30AFA7
monochromatic
#4F1636 #7F2356 #AF3077 #CE4E96 #DC7EB2

Accessibility & contrast

On white

5.98
#AF3077 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AF3077 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3077
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3077#FFFFFF#000000##FFFFFF
##AF30771.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445579
Deuteranopia (green-blind)
#696C74
Tritanopia (blue-blind)
#BC284F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3077;
/* rgb */ color: rgb(175, 48, 119);
/* oklch */ color: oklch(52.4% 0.176 350.6);
Tailwind
colors: {
  custom: {
    50: '#cb739e',
    500: '#af3077',
    950: '#000000',
  },
}
SCSS
$custom: #af3077;
$custom-light: #cb739e;
$custom-dark: #000000;
JSON
{
  "hex": "#af3077",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 119
  },
  "hsl": {
    "h": 326.457,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5241,
    "c": 0.17617,
    "h": 350.6
  },
  "luminance": 0.1256
}

Semantic roles & 50–950 ramp

primary
#AF3077
secondary
#76C499
accent
#E08B48
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3077

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

Preview Lab → · Contrast checker → · Palette generator →

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