#AF305E#AF305E

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

Color values

HEX#AF305E
RGBrgb(175, 48, 94)
HSLhsl(338, 57%, 44%)
HSVhsv(338, 73%, 69%)
CMYKcmyk(0%, 72.6%, 46.3%, 31.4%)
CIE-LABlab(41.28, 54.22, 3.35)
CIE-LCHlch(41.28, 54.32, 3.54°)
OKLaboklab(51.54% 0.166 0.0092)
OKLCHoklch(51.54% 0.166 3.2)
XYZxyz(20.7582, 12.0387, 11.8181)
Luminance0.1204 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF305E #30AF81
analogous
#AF309D #AF305E #AF4130
triadic
#AF305E #5EAF30 #305EAF
tetradic
#AF305E #9DAF30 #30AF81 #4130AF
square
#AF305E #9DAF30 #30AF81 #4130AF
split-complementary
#AF305E #30AF41 #309DAF
monochromatic
#4F162A #7F2344 #AF305E #CE4E7C #DC7EA0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF305E#FFFFFF#000000##FFFFFF
##AF305E1.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)
#4D525F
Deuteranopia (green-blind)
#6E6A5B
Tritanopia (blue-blind)
#BE1A43
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af305e;
/* rgb */ color: rgb(175, 48, 94);
/* oklch */ color: oklch(51.5% 0.166 3.2);
Tailwind
colors: {
  custom: {
    50: '#cc738b',
    500: '#af305e',
    950: '#000000',
  },
}
SCSS
$custom: #af305e;
$custom-light: #cc738b;
$custom-dark: #000000;
JSON
{
  "hex": "#af305e",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 94
  },
  "hsl": {
    "h": 338.268,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5154,
    "c": 0.16622,
    "h": 3.2
  },
  "luminance": 0.12036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF305E

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

Preview Lab → · Contrast checker → · Palette generator →

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