#AF4865#AF4865

#AF4865 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.5% C 0.137 H 5.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#AF4865
RGBrgb(175, 72, 101)
HSLhsl(343, 42%, 48%)
HSVhsv(343, 59%, 69%)
CMYKcmyk(0%, 58.9%, 42.3%, 31.4%)
CIE-LABlab(45.21, 44.77, 4.66)
CIE-LCHlch(45.21, 45.02, 5.94°)
OKLaboklab(54.53% 0.1364 0.0125)
OKLCHoklch(54.53% 0.137 5.2)
XYZxyz(22.3470, 14.6908, 13.9682)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4865 #48AF92
analogous
#AF4898 #AF4865 #AF5E48
triadic
#AF4865 #65AF48 #4865AF
tetradic
#AF4865 #98AF48 #48AF92 #5E48AF
square
#AF4865 #98AF48 #48AF92 #5E48AF
split-complementary
#AF4865 #48AF5E #4898AF
monochromatic
#582433 #84364C #AF4865 #C47088 #D69BAC

Accessibility & contrast

On white

5.33
#AF4865 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#AF4865 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4865
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4865#FFFFFF#000000##FFFFFF
##AF48651.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5E66
Deuteranopia (green-blind)
#777263
Tritanopia (blue-blind)
#BD3C53
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4865;
/* rgb */ color: rgb(175, 72, 101);
/* oklch */ color: oklch(54.5% 0.137 5.2);
Tailwind
colors: {
  custom: {
    50: '#cb7f90',
    500: '#af4865',
    950: '#000000',
  },
}
SCSS
$custom: #af4865;
$custom-light: #cb7f90;
$custom-dark: #000000;
JSON
{
  "hex": "#af4865",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 101
  },
  "hsl": {
    "h": 343.107,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54525,
    "c": 0.13692,
    "h": 5.2
  },
  "luminance": 0.14688
}

Semantic roles & 50–950 ramp

primary
#AF4865
secondary
#90C2B4
accent
#D2AF56
background
#FCF8F8
surface
#F9EFF0
border
#D2CACB
text
#140A0C
muted
#827C7D

Preview Lab

Preview with #AF4865

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

Preview Lab → · Contrast checker → · Palette generator →

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