#AF2A54#AF2A54

#AF2A54 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.170 H 7.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AF2A54
RGBrgb(175, 42, 84)
HSLhsl(341, 61%, 43%)
HSVhsv(341, 76%, 69%)
CMYKcmyk(0%, 76%, 52%, 31.4%)
CIE-LABlab(40.27, 55.40, 8.21)
CIE-LCHlch(40.27, 56.01, 8.43°)
OKLaboklab(50.71% 0.1689 0.0212)
OKLCHoklch(50.71% 0.17 7.2)
XYZxyz(20.1092, 11.4128, 9.5298)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A54 #2AAF85
analogous
#AF2A96 #AF2A54 #AF432A
triadic
#AF2A54 #54AF2A #2A54AF
tetradic
#AF2A54 #96AF2A #2AAF85 #432AAF
square
#AF2A54 #96AF2A #2AAF85 #432AAF
split-complementary
#AF2A54 #2AAF43 #2A96AF
monochromatic
#4C1225 #7E1E3C #AF2A54 #D24471 #DE7596

Accessibility & contrast

On white

6.40
#AF2A54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF2A54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A54
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A54#FFFFFF#000000##FFFFFF
##AF2A541.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4E55
Deuteranopia (green-blind)
#6E6951
Tritanopia (blue-blind)
#BF033C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2a54;
/* rgb */ color: rgb(175, 42, 84);
/* oklch */ color: oklch(50.7% 0.170 7.2);
Tailwind
colors: {
  custom: {
    50: '#cd7083',
    500: '#af2a54',
    950: '#000000',
  },
}
SCSS
$custom: #af2a54;
$custom-light: #cd7083;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a54",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 84
  },
  "hsl": {
    "h": 341.053,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.17025,
    "h": 7.2
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#AF2A54
secondary
#6FC6AA
accent
#E4B243
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2A54

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

Preview Lab → · Contrast checker → · Palette generator →

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