#AF305C#AF305C

#AF305C is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.166 H 4.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AF305C
RGBrgb(175, 48, 92)
HSLhsl(339, 57%, 44%)
HSVhsv(339, 73%, 69%)
CMYKcmyk(0%, 72.6%, 47.4%, 31.4%)
CIE-LABlab(41.22, 54.03, 4.53)
CIE-LCHlch(41.22, 54.22, 4.79°)
OKLaboklab(51.48% 0.1653 0.0122)
OKLCHoklch(51.48% 0.166 4.2)
XYZxyz(20.6696, 12.0033, 11.3516)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF305C #30AF83
analogous
#AF309B #AF305C #AF4330
triadic
#AF305C #5CAF30 #305CAF
tetradic
#AF305C #9BAF30 #30AF83 #4330AF
square
#AF305C #9BAF30 #30AF83 #4330AF
split-complementary
#AF305C #30AF43 #309BAF
monochromatic
#4F162A #7F2343 #AF305C #CE4E7A #DC7E9E

Accessibility & contrast

On white

6.18
#AF305C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AF305C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF305C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF305C#FFFFFF#000000##FFFFFF
##AF305C1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515D
Deuteranopia (green-blind)
#6F6A59
Tritanopia (blue-blind)
#BE1942
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af305c;
/* rgb */ color: rgb(175, 48, 92);
/* oklch */ color: oklch(51.5% 0.166 4.2);
Tailwind
colors: {
  custom: {
    50: '#cc7389',
    500: '#af305c',
    950: '#000000',
  },
}
SCSS
$custom: #af305c;
$custom-light: #cc7389;
$custom-dark: #000000;
JSON
{
  "hex": "#af305c",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 92
  },
  "hsl": {
    "h": 339.213,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5148,
    "c": 0.1657,
    "h": 4.2
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#AF305C
secondary
#76C4A9
accent
#E0AB48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF305C

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

Preview Lab → · Contrast checker → · Palette generator →

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