#AF4568#AF4568

#AF4568 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.2% C 0.142 H 2.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AF4568
RGBrgb(175, 69, 104)
HSLhsl(340, 43%, 48%)
HSVhsv(340, 61%, 69%)
CMYKcmyk(0%, 60.6%, 40.6%, 31.4%)
CIE-LABlab(44.76, 46.51, 2.18)
CIE-LCHlch(44.76, 46.56, 2.68°)
OKLaboklab(54.22% 0.1419 0.0062)
OKLCHoklch(54.22% 0.142 2.5)
XYZxyz(22.3074, 14.3722, 14.6934)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4568 #45AF8C
analogous
#AF459D #AF4568 #AF5745
triadic
#AF4568 #68AF45 #4568AF
tetradic
#AF4568 #9DAF45 #45AF8C #5745AF
square
#AF4568 #9DAF45 #45AF8C #5745AF
split-complementary
#AF4568 #45AF57 #459DAF
monochromatic
#572234 #83344E #AF4568 #C56C89 #D698AD

Accessibility & contrast

On white

5.42
#AF4568 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#AF4568 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4568
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4568#FFFFFF#000000##FFFFFF
##AF45681.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595D69
Deuteranopia (green-blind)
#757166
Tritanopia (blue-blind)
#BD3A52
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4568;
/* rgb */ color: rgb(175, 69, 104);
/* oklch */ color: oklch(54.2% 0.142 2.5);
Tailwind
colors: {
  custom: {
    50: '#cb7e93',
    500: '#af4568',
    950: '#000000',
  },
}
SCSS
$custom: #af4568;
$custom-light: #cb7e93;
$custom-dark: #000000;
JSON
{
  "hex": "#af4568",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 104
  },
  "hsl": {
    "h": 340.189,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5422,
    "c": 0.14203,
    "h": 2.5
  },
  "luminance": 0.1437
}

Semantic roles & 50–950 ramp

primary
#AF4568
secondary
#8DC2B1
accent
#D3A955
background
#FCF7F9
surface
#F9EEF1
border
#D2C9CB
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF4568

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

Preview Lab → · Contrast checker → · Palette generator →

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