#AF4875#AF4875

#AF4875 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.0% C 0.142 H 355.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF4875
RGBrgb(175, 72, 117)
HSLhsl(334, 42%, 48%)
HSVhsv(334, 59%, 69%)
CMYKcmyk(0%, 58.9%, 33.1%, 31.4%)
CIE-LABlab(45.68, 46.64, -4.44)
CIE-LCHlch(45.68, 46.85, 354.57°)
OKLaboklab(55.04% 0.142 -0.0111)
OKLCHoklch(55.04% 0.142 355.5)
XYZxyz(23.2086, 15.0354, 18.5060)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4875 #48AF82
analogous
#AF48A8 #AF4875 #AF4E48
triadic
#AF4875 #75AF48 #4875AF
tetradic
#AF4875 #A8AF48 #48AF82 #4E48AF
square
#AF4875 #A8AF48 #48AF82 #4E48AF
split-complementary
#AF4875 #48AF4E #48A8AF
monochromatic
#58243B #843658 #AF4875 #C47095 #D69BB5

Accessibility & contrast

On white

5.24
#AF4875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF4875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4875
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4875#FFFFFF#000000##FFFFFF
##AF48751.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586076
Deuteranopia (green-blind)
#737373
Tritanopia (blue-blind)
#BC4159
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4875;
/* rgb */ color: rgb(175, 72, 117);
/* oklch */ color: oklch(55.0% 0.142 355.5);
Tailwind
colors: {
  custom: {
    50: '#ca809c',
    500: '#af4875',
    950: '#000000',
  },
}
SCSS
$custom: #af4875;
$custom-light: #ca809c;
$custom-dark: #000000;
JSON
{
  "hex": "#af4875",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 333.786,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55036,
    "c": 0.14244,
    "h": 355.5
  },
  "luminance": 0.15033
}

Semantic roles & 50–950 ramp

primary
#AF4875
secondary
#90C2AD
accent
#D29C56
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4875

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

Preview Lab → · Contrast checker → · Palette generator →

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