#AF2754#AF2754

#AF2754 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.173 H 6.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#AF2754
RGBrgb(175, 39, 84)
HSLhsl(340, 64%, 42%)
HSVhsv(340, 78%, 69%)
CMYKcmyk(0%, 77.7%, 52%, 31.4%)
CIE-LABlab(39.93, 56.36, 7.74)
CIE-LCHlch(39.93, 56.89, 7.82°)
OKLaboklab(50.46% 0.172 0.0201)
OKLCHoklch(50.46% 0.173 6.7)
XYZxyz(20.0068, 11.2079, 9.4956)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2754 #27AF82
analogous
#AF2798 #AF2754 #AF3E27
triadic
#AF2754 #54AF27 #2754AF
tetradic
#AF2754 #98AF27 #27AF82 #3E27AF
square
#AF2754 #98AF27 #27AF82 #3E27AF
split-complementary
#AF2754 #27AF3E #2798AF
monochromatic
#4B1124 #7D1C3C #AF2754 #D43F70 #DF7196

Accessibility & contrast

On white

6.48
#AF2754 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2754 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2754
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2754#FFFFFF#000000##FFFFFF
##AF27541.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D55
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#BF003A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2754;
/* rgb */ color: rgb(175, 39, 84);
/* oklch */ color: oklch(50.5% 0.173 6.7);
Tailwind
colors: {
  custom: {
    50: '#cd6f83',
    500: '#af2754',
    950: '#000000',
  },
}
SCSS
$custom: #af2754;
$custom-light: #cd6f83;
$custom-dark: #000000;
JSON
{
  "hex": "#af2754",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 84
  },
  "hsl": {
    "h": 340.147,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50456,
    "c": 0.17316,
    "h": 6.7
  },
  "luminance": 0.11205
}

Semantic roles & 50–950 ramp

primary
#AF2754
secondary
#6BC6A8
accent
#E7B041
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2754

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

Preview Lab → · Contrast checker → · Palette generator →

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