#AF4874#AF4874

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

Color values

HEX#AF4874
RGBrgb(175, 72, 116)
HSLhsl(334, 42%, 48%)
HSVhsv(334, 59%, 69%)
CMYKcmyk(0%, 58.9%, 33.7%, 31.4%)
CIE-LABlab(45.65, 46.52, -3.87)
CIE-LCHlch(45.65, 46.68, 355.24°)
OKLaboklab(55% 0.1417 -0.0096)
OKLCHoklch(55% 0.142 356.1)
XYZxyz(23.1501, 15.0120, 18.1980)
Luminance0.1501 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4874 #48AF83
analogous
#AF48A7 #AF4874 #AF4F48
triadic
#AF4874 #74AF48 #4874AF
tetradic
#AF4874 #A7AF48 #48AF83 #4F48AF
square
#AF4874 #A7AF48 #48AF83 #4F48AF
split-complementary
#AF4874 #48AF4F #48A7AF
monochromatic
#58243B #843657 #AF4874 #C47094 #D69BB4

Accessibility & contrast

On white

5.25
#AF4874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AF4874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4874
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4874#FFFFFF#000000##FFFFFF
##AF48741.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4874;
/* rgb */ color: rgb(175, 72, 116);
/* oklch */ color: oklch(55.0% 0.142 356.1);
Tailwind
colors: {
  custom: {
    50: '#ca809c',
    500: '#af4874',
    950: '#000000',
  },
}
SCSS
$custom: #af4874;
$custom-light: #ca809c;
$custom-dark: #000000;
JSON
{
  "hex": "#af4874",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 116
  },
  "hsl": {
    "h": 334.369,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55002,
    "c": 0.142,
    "h": 356.1
  },
  "luminance": 0.1501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4874

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

Preview Lab → · Contrast checker → · Palette generator →

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