#AF315D#AF315D

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

Color values

HEX#AF315D
RGBrgb(175, 49, 93)
HSLhsl(339, 56%, 44%)
HSVhsv(339, 72%, 69%)
CMYKcmyk(0%, 72%, 46.9%, 31.4%)
CIE-LABlab(41.38, 53.76, 4.13)
CIE-LCHlch(41.38, 53.92, 4.39°)
OKLaboklab(51.61% 0.1645 0.0112)
OKLCHoklch(51.61% 0.165 3.9)
XYZxyz(20.7550, 12.1036, 11.5971)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF315D #31AF83
analogous
#AF319C #AF315D #AF4431
triadic
#AF315D #5DAF31 #315DAF
tetradic
#AF315D #9CAF31 #31AF83 #4431AF
square
#AF315D #9CAF31 #31AF83 #4431AF
split-complementary
#AF315D #31AF44 #319CAF
monochromatic
#4F162A #7F2444 #AF315D #CE4F7C #DB7F9F

Accessibility & contrast

On white

6.14
#AF315D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF315D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF315D
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF315D#FFFFFF#000000##FFFFFF
##AF315D1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D525E
Deuteranopia (green-blind)
#6F6B5A
Tritanopia (blue-blind)
#BE1B43
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af315d;
/* rgb */ color: rgb(175, 49, 93);
/* oklch */ color: oklch(51.6% 0.165 3.9);
Tailwind
colors: {
  custom: {
    50: '#cc738a',
    500: '#af315d',
    950: '#000000',
  },
}
SCSS
$custom: #af315d;
$custom-light: #cc738a;
$custom-dark: #000000;
JSON
{
  "hex": "#af315d",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 339.048,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51607,
    "c": 0.16483,
    "h": 3.9
  },
  "luminance": 0.12101
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF315D

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

Preview Lab → · Contrast checker → · Palette generator →

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