#AF2D54#AF2D54

#AF2D54 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.167 H 7.7°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AF2D54
RGBrgb(175, 45, 84)
HSLhsl(342, 59%, 43%)
HSVhsv(342, 74%, 69%)
CMYKcmyk(0%, 74.3%, 52%, 31.4%)
CIE-LABlab(40.63, 54.39, 8.72)
CIE-LCHlch(40.63, 55.09, 9.11°)
OKLaboklab(50.97% 0.1657 0.0225)
OKLCHoklch(50.97% 0.167 7.7)
XYZxyz(20.2196, 11.6336, 9.5666)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D54 #2DAF88
analogous
#AF2D95 #AF2D54 #AF472D
triadic
#AF2D54 #54AF2D #2D54AF
tetradic
#AF2D54 #95AF2D #2DAF88 #472DAF
square
#AF2D54 #95AF2D #2DAF88 #472DAF
split-complementary
#AF2D54 #2DAF47 #2D95AF
monochromatic
#4E1425 #7E203D #AF2D54 #D04972 #DD7A97

Accessibility & contrast

On white

6.31
#AF2D54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF2D54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D54
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D54#FFFFFF#000000##FFFFFF
##AF2D541.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4F55
Deuteranopia (green-blind)
#6F6951
Tritanopia (blue-blind)
#BF0D3D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2d54;
/* rgb */ color: rgb(175, 45, 84);
/* oklch */ color: oklch(51.0% 0.167 7.7);
Tailwind
colors: {
  custom: {
    50: '#cd7183',
    500: '#af2d54',
    950: '#000000',
  },
}
SCSS
$custom: #af2d54;
$custom-light: #cd7183;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d54",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 84
  },
  "hsl": {
    "h": 342,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50972,
    "c": 0.16719,
    "h": 7.7
  },
  "luminance": 0.11631
}

Semantic roles & 50–950 ramp

primary
#AF2D54
secondary
#73C5AC
accent
#E2B346
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2D54

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

Preview Lab → · Contrast checker → · Palette generator →

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