#AF3079#AF3079

#AF3079 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.177 H 349.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AF3079
RGBrgb(175, 48, 121)
HSLhsl(326, 57%, 44%)
HSVhsv(326, 73%, 69%)
CMYKcmyk(0%, 72.6%, 30.9%, 31.4%)
CIE-LABlab(42.17, 57.13, -12.15)
CIE-LCHlch(42.17, 58.41, 347.99°)
OKLaboklab(52.49% 0.1743 -0.0317)
OKLCHoklch(52.49% 0.177 349.7)
XYZxyz(22.1885, 12.6108, 19.3511)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3079 #30AF66
analogous
#A530AF #AF3079 #AF3039
triadic
#AF3079 #79AF30 #3079AF
tetradic
#AF3079 #AFA530 #30AF66 #3039AF
square
#AF3079 #AFA530 #30AF66 #3039AF
split-complementary
#AF3079 #39AF30 #30AFA5
monochromatic
#4F1637 #7F2358 #AF3079 #CE4E98 #DC7EB4

Accessibility & contrast

On white

5.96
#AF3079 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AF3079 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3079
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3079#FFFFFF#000000##FFFFFF
##AF30791.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44557B
Deuteranopia (green-blind)
#686C76
Tritanopia (blue-blind)
#BC2950
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3079;
/* rgb */ color: rgb(175, 48, 121);
/* oklch */ color: oklch(52.5% 0.177 349.7);
Tailwind
colors: {
  custom: {
    50: '#cb739f',
    500: '#af3079',
    950: '#000000',
  },
}
SCSS
$custom: #af3079;
$custom-light: #cb739f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3079",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 121
  },
  "hsl": {
    "h": 325.512,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52489,
    "c": 0.17721,
    "h": 349.7
  },
  "luminance": 0.12608
}

Semantic roles & 50–950 ramp

primary
#AF3079
secondary
#76C498
accent
#E08848
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3079

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

Preview Lab → · Contrast checker → · Palette generator →

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