#AF305B#AF305B

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

Color values

HEX#AF305B
RGBrgb(175, 48, 91)
HSLhsl(340, 57%, 44%)
HSVhsv(340, 73%, 69%)
CMYKcmyk(0%, 72.6%, 48%, 31.4%)
CIE-LABlab(41.19, 53.94, 5.12)
CIE-LCHlch(41.19, 54.18, 5.42°)
OKLaboklab(51.45% 0.1649 0.0136)
OKLCHoklch(51.45% 0.165 4.7)
XYZxyz(20.6262, 11.9859, 11.1229)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF305B #30AF84
analogous
#AF309A #AF305B #AF4430
triadic
#AF305B #5BAF30 #305BAF
tetradic
#AF305B #9AAF30 #30AF84 #4430AF
square
#AF305B #9AAF30 #30AF84 #4430AF
split-complementary
#AF305B #30AF44 #309AAF
monochromatic
#4F1629 #7F2342 #AF305B #CE4E79 #DC7E9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF305B#FFFFFF#000000##FFFFFF
##AF305B1.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)
#4D515C
Deuteranopia (green-blind)
#6F6A58
Tritanopia (blue-blind)
#BE1842
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af305b;
/* rgb */ color: rgb(175, 48, 91);
/* oklch */ color: oklch(51.5% 0.165 4.7);
Tailwind
colors: {
  custom: {
    50: '#cc7389',
    500: '#af305b',
    950: '#000000',
  },
}
SCSS
$custom: #af305b;
$custom-light: #cc7389;
$custom-dark: #000000;
JSON
{
  "hex": "#af305b",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 91
  },
  "hsl": {
    "h": 339.685,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51451,
    "c": 0.16544,
    "h": 4.7
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#AF305B
secondary
#76C4AA
accent
#E0AD48
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF305B

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

Preview Lab → · Contrast checker → · Palette generator →

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