#AF3078#AF3078

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

Color values

HEX#AF3078
RGBrgb(175, 48, 120)
HSLhsl(326, 57%, 44%)
HSVhsv(326, 73%, 69%)
CMYKcmyk(0%, 72.6%, 31.4%, 31.4%)
CIE-LABlab(42.13, 57.01, -11.59)
CIE-LCHlch(42.13, 58.18, 348.51°)
OKLaboklab(52.45% 0.1741 -0.0302)
OKLCHoklch(52.45% 0.177 350.2)
XYZxyz(22.1275, 12.5864, 19.0298)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3078 #30AF67
analogous
#A630AF #AF3078 #AF3038
triadic
#AF3078 #78AF30 #3078AF
tetradic
#AF3078 #AFA630 #30AF67 #3038AF
square
#AF3078 #AFA630 #30AF67 #3038AF
split-complementary
#AF3078 #38AF30 #30AFA6
monochromatic
#4F1636 #7F2357 #AF3078 #CE4E97 #DC7EB3

Accessibility & contrast

On white

5.97
#AF3078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF3078
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3078#FFFFFF#000000##FFFFFF
##AF30781.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44557A
Deuteranopia (green-blind)
#696C75
Tritanopia (blue-blind)
#BC2850
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3078;
/* rgb */ color: rgb(175, 48, 120);
/* oklch */ color: oklch(52.4% 0.177 350.2);
Tailwind
colors: {
  custom: {
    50: '#cb739f',
    500: '#af3078',
    950: '#000000',
  },
}
SCSS
$custom: #af3078;
$custom-light: #cb739f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3078",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 120
  },
  "hsl": {
    "h": 325.984,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52449,
    "c": 0.17668,
    "h": 350.2
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3078

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

Preview Lab → · Contrast checker → · Palette generator →

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