#AF367F#AF367F

#AF367F is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.3% C 0.173 H 347.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#AF367F
RGBrgb(175, 54, 127)
HSLhsl(324, 53%, 45%)
HSVhsv(324, 69%, 69%)
CMYKcmyk(0%, 69.1%, 27.4%, 31.4%)
CIE-LABlab(43.19, 55.67, -14.29)
CIE-LCHlch(43.19, 57.47, 345.60°)
OKLaboklab(53.31% 0.1689 -0.0377)
OKLCHoklch(53.31% 0.173 347.4)
XYZxyz(22.8301, 13.2870, 21.4369)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF367F #36AF66
analogous
#A336AF #AF367F #AF3642
triadic
#AF367F #7FAF36 #367FAF
tetradic
#AF367F #AFA336 #36AF66 #3642AF
square
#AF367F #AFA336 #36AF66 #3642AF
split-complementary
#AF367F #42AF36 #36AFA3
monochromatic
#51193B #80285D #AF367F #CB579D #DA86B8

Accessibility & contrast

On white

5.74
#AF367F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#AF367F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF367F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF367F#FFFFFF#000000##FFFFFF
##AF367F1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465981
Deuteranopia (green-blind)
#696E7C
Tritanopia (blue-blind)
#BB3256
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af367f;
/* rgb */ color: rgb(175, 54, 127);
/* oklch */ color: oklch(53.3% 0.173 347.4);
Tailwind
colors: {
  custom: {
    50: '#cb76a4',
    500: '#af367f',
    950: '#000000',
  },
}
SCSS
$custom: #af367f;
$custom-light: #cb76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#af367f",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 323.802,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53312,
    "c": 0.17309,
    "h": 347.4
  },
  "luminance": 0.13285
}

Semantic roles & 50–950 ramp

primary
#AF367F
secondary
#7DC399
accent
#DC854C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF367F

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

Preview Lab → · Contrast checker → · Palette generator →

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