#AF3478#AF3478

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

Color values

HEX#AF3478
RGBrgb(175, 52, 120)
HSLhsl(327, 54%, 45%)
HSVhsv(327, 70%, 69%)
CMYKcmyk(0%, 70.3%, 31.4%, 31.4%)
CIE-LABlab(42.66, 55.55, -10.80)
CIE-LCHlch(42.66, 56.59, 349.00°)
OKLaboklab(52.83% 0.1695 -0.0281)
OKLCHoklch(52.83% 0.172 350.6)
XYZxyz(22.2985, 12.9285, 19.0868)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3478 #34AF6B
analogous
#A934AF #AF3478 #AF343B
triadic
#AF3478 #78AF34 #3478AF
tetradic
#AF3478 #AFA934 #34AF6B #343BAF
square
#AF3478 #AFA934 #34AF6B #343BAF
split-complementary
#AF3478 #3BAF34 #34AFA9
monochromatic
#511837 #802658 #AF3478 #CC5496 #DA83B3

Accessibility & contrast

On white

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

On black

3.59
#AF3478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF3478#FFFFFF#000000##FFFFFF
##AF34781.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47577A
Deuteranopia (green-blind)
#6A6D75
Tritanopia (blue-blind)
#BC2D51
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3478;
/* rgb */ color: rgb(175, 52, 120);
/* oklch */ color: oklch(52.8% 0.172 350.6);
Tailwind
colors: {
  custom: {
    50: '#cb759f',
    500: '#af3478',
    950: '#000000',
  },
}
SCSS
$custom: #af3478;
$custom-light: #cb759f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3478",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 120
  },
  "hsl": {
    "h": 326.829,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.17183,
    "h": 350.6
  },
  "luminance": 0.12926
}

Semantic roles & 50–950 ramp

primary
#AF3478
secondary
#7BC49C
accent
#DE8C4A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3478

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

Preview Lab → · Contrast checker → · Palette generator →

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