#AF3274#AF3274

#AF3274 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.5% C 0.172 H 352.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AF3274
RGBrgb(175, 50, 116)
HSLhsl(328, 56%, 44%)
HSVhsv(328, 71%, 69%)
CMYKcmyk(0%, 71.4%, 33.7%, 31.4%)
CIE-LABlab(42.24, 55.82, -8.95)
CIE-LCHlch(42.24, 56.53, 350.89°)
OKLaboklab(52.48% 0.1708 -0.023)
OKLCHoklch(52.48% 0.172 352.3)
XYZxyz(21.9734, 12.6587, 17.8058)
Luminance0.1266 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3274 #32AF6D
analogous
#AC32AF #AF3274 #AF3235
triadic
#AF3274 #74AF32 #3274AF
tetradic
#AF3274 #AFAC32 #32AF6D #3235AF
square
#AF3274 #AFAC32 #32AF6D #3235AF
split-complementary
#AF3274 #35AF32 #32AFAC
monochromatic
#501735 #7F2454 #AF3274 #CD5193 #DB81B0

Accessibility & contrast

On white

5.95
#AF3274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AF3274 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3274
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3274#FFFFFF#000000##FFFFFF
##AF32741.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475576
Deuteranopia (green-blind)
#6A6C71
Tritanopia (blue-blind)
#BC294E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3274;
/* rgb */ color: rgb(175, 50, 116);
/* oklch */ color: oklch(52.5% 0.172 352.3);
Tailwind
colors: {
  custom: {
    50: '#cb749c',
    500: '#af3274',
    950: '#000000',
  },
}
SCSS
$custom: #af3274;
$custom-light: #cb749c;
$custom-dark: #000000;
JSON
{
  "hex": "#af3274",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 328.32,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52483,
    "c": 0.1723,
    "h": 352.3
  },
  "luminance": 0.12656
}

Semantic roles & 50–950 ramp

primary
#AF3274
secondary
#79C49C
accent
#DF9049
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3274

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

Preview Lab → · Contrast checker → · Palette generator →

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