#AF3054#AF3054

#AF3054 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.3% C 0.164 H 8.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AF3054
RGBrgb(175, 48, 84)
HSLhsl(343, 57%, 44%)
HSVhsv(343, 73%, 69%)
CMYKcmyk(0%, 72.6%, 52%, 31.4%)
CIE-LABlab(41.01, 53.33, 9.26)
CIE-LCHlch(41.01, 54.13, 9.85°)
OKLaboklab(51.26% 0.1623 0.0238)
OKLCHoklch(51.26% 0.164 8.3)
XYZxyz(20.3382, 11.8707, 9.6061)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3054 #30AF8B
analogous
#AF3093 #AF3054 #AF4B30
triadic
#AF3054 #54AF30 #3054AF
tetradic
#AF3054 #93AF30 #30AF8B #4B30AF
square
#AF3054 #93AF30 #30AF8B #4B30AF
split-complementary
#AF3054 #30AF4B #3093AF
monochromatic
#4F1626 #7F233D #AF3054 #CE4E72 #DC7E98

Accessibility & contrast

On white

6.22
#AF3054 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF3054 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3054
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3054#FFFFFF#000000##FFFFFF
##AF30541.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5055
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#BF143F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3054;
/* rgb */ color: rgb(175, 48, 84);
/* oklch */ color: oklch(51.3% 0.164 8.3);
Tailwind
colors: {
  custom: {
    50: '#cd7283',
    500: '#af3054',
    950: '#000000',
  },
}
SCSS
$custom: #af3054;
$custom-light: #cd7283;
$custom-dark: #000000;
JSON
{
  "hex": "#af3054",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 84
  },
  "hsl": {
    "h": 342.992,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51255,
    "c": 0.16399,
    "h": 8.3
  },
  "luminance": 0.11868
}

Semantic roles & 50–950 ramp

primary
#AF3054
secondary
#76C4AE
accent
#E0B548
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF3054

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

Preview Lab → · Contrast checker → · Palette generator →

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