#AF305F#AF305F

#AF305F is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.167 H 2.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF305F
RGBrgb(175, 48, 95)
HSLhsl(338, 57%, 44%)
HSVhsv(338, 73%, 69%)
CMYKcmyk(0%, 72.6%, 45.7%, 31.4%)
CIE-LABlab(41.31, 54.31, 2.77)
CIE-LCHlch(41.31, 54.39, 2.91°)
OKLaboklab(51.57% 0.1663 0.0077)
OKLCHoklch(51.57% 0.167 2.7)
XYZxyz(20.8033, 12.0568, 12.0560)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF305F #30AF80
analogous
#AF309E #AF305F #AF4030
triadic
#AF305F #5FAF30 #305FAF
tetradic
#AF305F #9EAF30 #30AF80 #4030AF
square
#AF305F #9EAF30 #30AF80 #4030AF
split-complementary
#AF305F #30AF40 #309EAF
monochromatic
#4F162B #7F2345 #AF305F #CE4E7D #DC7EA1

Accessibility & contrast

On white

6.16
#AF305F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF305F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF305F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF305F#FFFFFF#000000##FFFFFF
##AF305F1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5260
Deuteranopia (green-blind)
#6E6A5C
Tritanopia (blue-blind)
#BE1B44
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af305f;
/* rgb */ color: rgb(175, 48, 95);
/* oklch */ color: oklch(51.6% 0.167 2.7);
Tailwind
colors: {
  custom: {
    50: '#cc738c',
    500: '#af305f',
    950: '#000000',
  },
}
SCSS
$custom: #af305f;
$custom-light: #cc738c;
$custom-dark: #000000;
JSON
{
  "hex": "#af305f",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 337.795,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51571,
    "c": 0.16651,
    "h": 2.7
  },
  "luminance": 0.12054
}

Semantic roles & 50–950 ramp

primary
#AF305F
secondary
#76C4A8
accent
#E0A848
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF305F

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

Preview Lab → · Contrast checker → · Palette generator →

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