#AF4276#AF4276

#AF4276 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.3% C 0.152 H 353.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AF4276
RGBrgb(175, 66, 118)
HSLhsl(331, 45%, 47%)
HSVhsv(331, 62%, 69%)
CMYKcmyk(0%, 62.3%, 32.6%, 31.4%)
CIE-LABlab(44.69, 49.53, -6.52)
CIE-LCHlch(44.69, 49.95, 352.50°)
OKLaboklab(54.31% 0.1509 -0.0166)
OKLCHoklch(54.31% 0.152 353.7)
XYZxyz(22.8986, 14.3208, 18.6943)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4276 #42AF7B
analogous
#AF42AD #AF4276 #AF4542
triadic
#AF4276 #76AF42 #4276AF
tetradic
#AF4276 #ADAF42 #42AF7B #4542AF
square
#AF4276 #ADAF42 #42AF7B #4542AF
split-complementary
#AF4276 #42AF45 #42ADAF
monochromatic
#56203A #833158 #AF4276 #C66895 #D795B4

Accessibility & contrast

On white

5.44
#AF4276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF4276 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4276
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4276#FFFFFF#000000##FFFFFF
##AF42761.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535D78
Deuteranopia (green-blind)
#707173
Tritanopia (blue-blind)
#BC3B57
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4276;
/* rgb */ color: rgb(175, 66, 118);
/* oklch */ color: oklch(54.3% 0.152 353.7);
Tailwind
colors: {
  custom: {
    50: '#ca7c9d',
    500: '#af4276',
    950: '#000000',
  },
}
SCSS
$custom: #af4276;
$custom-light: #ca7c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#af4276",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 118
  },
  "hsl": {
    "h": 331.376,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54309,
    "c": 0.15181,
    "h": 353.7
  },
  "luminance": 0.14318
}

Semantic roles & 50–950 ramp

primary
#AF4276
secondary
#8AC2A8
accent
#D59753
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4276

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

Preview Lab → · Contrast checker → · Palette generator →

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