#AF4273#AF4273

#AF4273 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.2% C 0.150 H 355.4°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#AF4273
RGBrgb(175, 66, 115)
HSLhsl(333, 45%, 47%)
HSVhsv(333, 62%, 69%)
CMYKcmyk(0%, 62.3%, 34.3%, 31.4%)
CIE-LABlab(44.59, 49.16, -4.83)
CIE-LCHlch(44.59, 49.39, 354.39°)
OKLaboklab(54.2% 0.15 -0.0121)
OKLCHoklch(54.2% 0.15 355.4)
XYZxyz(22.7231, 14.2506, 17.7703)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4273 #42AF7E
analogous
#AF42A9 #AF4273 #AF4842
triadic
#AF4273 #73AF42 #4273AF
tetradic
#AF4273 #A9AF42 #42AF7E #4842AF
square
#AF4273 #A9AF42 #42AF7E #4842AF
split-complementary
#AF4273 #42AF48 #42A9AF
monochromatic
#562039 #833156 #AF4273 #C66892 #D795B2

Accessibility & contrast

On white

5.46
#AF4273 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#AF4273 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4273
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4273#FFFFFF#000000##FFFFFF
##AF42731.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535D74
Deuteranopia (green-blind)
#717170
Tritanopia (blue-blind)
#BC3A55
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4273;
/* rgb */ color: rgb(175, 66, 115);
/* oklch */ color: oklch(54.2% 0.150 355.4);
Tailwind
colors: {
  custom: {
    50: '#cb7c9b',
    500: '#af4273',
    950: '#000000',
  },
}
SCSS
$custom: #af4273;
$custom-light: #cb7c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#af4273",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 115
  },
  "hsl": {
    "h": 333.028,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54203,
    "c": 0.15044,
    "h": 355.4
  },
  "luminance": 0.14248
}

Semantic roles & 50–950 ramp

primary
#AF4273
secondary
#8AC2A9
accent
#D59A53
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4273

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

Preview Lab → · Contrast checker → · Palette generator →

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