#AF305D#AF305D

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

Color values

HEX#AF305D
RGBrgb(175, 48, 93)
HSLhsl(339, 57%, 44%)
HSVhsv(339, 73%, 69%)
CMYKcmyk(0%, 72.6%, 46.9%, 31.4%)
CIE-LABlab(41.25, 54.13, 3.94)
CIE-LCHlch(41.25, 54.27, 4.16°)
OKLaboklab(51.51% 0.1656 0.0107)
OKLCHoklch(51.51% 0.166 3.7)
XYZxyz(20.7136, 12.0209, 11.5833)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF305D #30AF82
analogous
#AF309C #AF305D #AF4230
triadic
#AF305D #5DAF30 #305DAF
tetradic
#AF305D #9CAF30 #30AF82 #4230AF
square
#AF305D #9CAF30 #30AF82 #4230AF
split-complementary
#AF305D #30AF42 #309CAF
monochromatic
#4F162A #7F2343 #AF305D #CE4E7B #DC7E9F

Accessibility & contrast

On white

6.17
#AF305D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF305D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF305D#FFFFFF#000000##FFFFFF
##AF305D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515E
Deuteranopia (green-blind)
#6F6A5A
Tritanopia (blue-blind)
#BE1A43
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af305d;
/* rgb */ color: rgb(175, 48, 93);
/* oklch */ color: oklch(51.5% 0.166 3.7);
Tailwind
colors: {
  custom: {
    50: '#cc738a',
    500: '#af305d',
    950: '#000000',
  },
}
SCSS
$custom: #af305d;
$custom-light: #cc738a;
$custom-dark: #000000;
JSON
{
  "hex": "#af305d",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 93
  },
  "hsl": {
    "h": 338.74,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.16595,
    "h": 3.7
  },
  "luminance": 0.12018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF305D

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

Preview Lab → · Contrast checker → · Palette generator →

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