#AF3278#AF3278

#AF3278 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.174 H 350.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AF3278
RGBrgb(175, 50, 120)
HSLhsl(326, 56%, 44%)
HSVhsv(326, 71%, 69%)
CMYKcmyk(0%, 71.4%, 31.4%, 31.4%)
CIE-LABlab(42.39, 56.29, -11.20)
CIE-LCHlch(42.39, 57.40, 348.74°)
OKLaboklab(52.64% 0.1718 -0.0292)
OKLCHoklch(52.64% 0.174 350.4)
XYZxyz(22.2111, 12.7537, 19.0577)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3278 #32AF69
analogous
#A832AF #AF3278 #AF323A
triadic
#AF3278 #78AF32 #3278AF
tetradic
#AF3278 #AFA832 #32AF69 #323AAF
square
#AF3278 #AFA832 #32AF69 #323AAF
split-complementary
#AF3278 #3AAF32 #32AFA8
monochromatic
#501737 #7F2457 #AF3278 #CD5197 #DB81B3

Accessibility & contrast

On white

5.92
#AF3278 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AF3278 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3278
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3278#FFFFFF#000000##FFFFFF
##AF32781.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46567A
Deuteranopia (green-blind)
#696C75
Tritanopia (blue-blind)
#BC2B50
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3278;
/* rgb */ color: rgb(175, 50, 120);
/* oklch */ color: oklch(52.6% 0.174 350.4);
Tailwind
colors: {
  custom: {
    50: '#cb749f',
    500: '#af3278',
    950: '#000000',
  },
}
SCSS
$custom: #af3278;
$custom-light: #cb749f;
$custom-dark: #000000;
JSON
{
  "hex": "#af3278",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 326.4,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52637,
    "c": 0.17429,
    "h": 350.4
  },
  "luminance": 0.12751
}

Semantic roles & 50–950 ramp

primary
#AF3278
secondary
#79C49A
accent
#DF8B49
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3278

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

Preview Lab → · Contrast checker → · Palette generator →

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