#AF3378#AF3378

#AF3378 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.173 H 350.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AF3378
RGBrgb(175, 51, 120)
HSLhsl(327, 55%, 44%)
HSVhsv(327, 71%, 69%)
CMYKcmyk(0%, 70.9%, 31.4%, 31.4%)
CIE-LABlab(42.52, 55.93, -11.00)
CIE-LCHlch(42.52, 57.00, 348.87°)
OKLaboklab(52.73% 0.1707 -0.0286)
OKLCHoklch(52.73% 0.173 350.5)
XYZxyz(22.2544, 12.8402, 19.0721)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3378 #33AF6A
analogous
#A833AF #AF3378 #AF333A
triadic
#AF3378 #78AF33 #3378AF
tetradic
#AF3378 #AFA833 #33AF6A #333AAF
square
#AF3378 #AFA833 #33AF6A #333AAF
split-complementary
#AF3378 #3AAF33 #33AFA8
monochromatic
#501737 #802558 #AF3378 #CD5297 #DB82B3

Accessibility & contrast

On white

5.89
#AF3378 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF3378 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3378
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3378#FFFFFF#000000##FFFFFF
##AF33781.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46567A
Deuteranopia (green-blind)
#6A6C75
Tritanopia (blue-blind)
#BC2C51
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3378;
/* rgb */ color: rgb(175, 51, 120);
/* oklch */ color: oklch(52.7% 0.173 350.5);
Tailwind
colors: {
  custom: {
    50: '#cb759f',
    500: '#af3378',
    950: '#000000',
  },
}
SCSS
$custom: #af3378;
$custom-light: #cb759f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3378",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 326.613,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52733,
    "c": 0.17306,
    "h": 350.5
  },
  "luminance": 0.12838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3378

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

Preview Lab → · Contrast checker → · Palette generator →

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