#AF2254#AF2254

#AF2254 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.178 H 5.9°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AF2254
RGBrgb(175, 34, 84)
HSLhsl(339, 67%, 41%)
HSVhsv(339, 81%, 69%)
CMYKcmyk(0%, 80.6%, 52%, 31.4%)
CIE-LABlab(39.41, 57.82, 7.01)
CIE-LCHlch(39.41, 58.24, 6.91°)
OKLaboklab(50.08% 0.1767 0.0183)
OKLCHoklch(50.08% 0.178 5.9)
XYZxyz(19.8533, 10.9009, 9.4445)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2254 #22AF7D
analogous
#AF229A #AF2254 #AF3622
triadic
#AF2254 #54AF22 #2254AF
tetradic
#AF2254 #9AAF22 #22AF7D #3622AF
square
#AF2254 #9AAF22 #22AF7D #3622AF
split-complementary
#AF2254 #22AF36 #229AAF
monochromatic
#490E23 #7C183B #AF2254 #D83670 #E26994

Accessibility & contrast

On white

6.60
#AF2254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AF2254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2254
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2254#FFFFFF#000000##FFFFFF
##AF22541.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484B55
Deuteranopia (green-blind)
#6C6751
Tritanopia (blue-blind)
#BF0038
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2254;
/* rgb */ color: rgb(175, 34, 84);
/* oklch */ color: oklch(50.1% 0.178 5.9);
Tailwind
colors: {
  custom: {
    50: '#cd6d83',
    500: '#af2254',
    950: '#000000',
  },
}
SCSS
$custom: #af2254;
$custom-light: #cd6d83;
$custom-dark: #000000;
JSON
{
  "hex": "#af2254",
  "rgb": {
    "r": 175,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 338.723,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50077,
    "c": 0.17764,
    "h": 5.9
  },
  "luminance": 0.10898
}

Semantic roles & 50–950 ramp

primary
#AF2254
secondary
#65C8A5
accent
#EAAD3D
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2254

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

Preview Lab → · Contrast checker → · Palette generator →

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