#AF3154#AF3154

#AF3154 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.4% C 0.163 H 8.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AF3154
RGBrgb(175, 49, 84)
HSLhsl(343, 56%, 44%)
HSVhsv(343, 72%, 69%)
CMYKcmyk(0%, 72%, 52%, 31.4%)
CIE-LABlab(41.14, 52.96, 9.44)
CIE-LCHlch(41.14, 53.80, 10.11°)
OKLaboklab(51.35% 0.1611 0.0243)
OKLCHoklch(51.35% 0.163 8.6)
XYZxyz(20.3795, 11.9534, 9.6199)
Luminance0.1195 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3154 #31AF8C
analogous
#AF3193 #AF3154 #AF4D31
triadic
#AF3154 #54AF31 #3154AF
tetradic
#AF3154 #93AF31 #31AF8C #4D31AF
square
#AF3154 #93AF31 #31AF8C #4D31AF
split-complementary
#AF3154 #31AF4D #3193AF
monochromatic
#4F1626 #7F243D #AF3154 #CE4F73 #DB7F99

Accessibility & contrast

On white

6.19
#AF3154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF3154 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3154
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3154#FFFFFF#000000##FFFFFF
##AF31541.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505155
Deuteranopia (green-blind)
#716A51
Tritanopia (blue-blind)
#BF163F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3154;
/* rgb */ color: rgb(175, 49, 84);
/* oklch */ color: oklch(51.4% 0.163 8.6);
Tailwind
colors: {
  custom: {
    50: '#cd7383',
    500: '#af3154',
    950: '#000000',
  },
}
SCSS
$custom: #af3154;
$custom-light: #cd7383;
$custom-dark: #000000;
JSON
{
  "hex": "#af3154",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 84
  },
  "hsl": {
    "h": 343.333,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51353,
    "c": 0.16289,
    "h": 8.6
  },
  "luminance": 0.11951
}

Semantic roles & 50–950 ramp

primary
#AF3154
secondary
#78C4AF
accent
#E0B648
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF3154

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

Preview Lab → · Contrast checker → · Palette generator →

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