#AF367B#AF367B

#AF367B is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.171 H 349.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AF367B
RGBrgb(175, 54, 123)
HSLhsl(326, 53%, 45%)
HSVhsv(326, 69%, 69%)
CMYKcmyk(0%, 69.1%, 29.7%, 31.4%)
CIE-LABlab(43.04, 55.16, -12.07)
CIE-LCHlch(43.04, 56.47, 347.66°)
OKLaboklab(53.15% 0.1679 -0.0316)
OKLCHoklch(53.15% 0.171 349.4)
XYZxyz(22.5746, 13.1848, 20.0911)
Luminance0.1318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF367B #36AF6A
analogous
#A636AF #AF367B #AF363F
triadic
#AF367B #7BAF36 #367BAF
tetradic
#AF367B #AFA636 #36AF6A #363FAF
square
#AF367B #AFA636 #36AF6A #363FAF
split-complementary
#AF367B #3FAF36 #36AFA6
monochromatic
#511939 #80285A #AF367B #CB5799 #DA86B6

Accessibility & contrast

On white

5.77
#AF367B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AF367B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF367B
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF367B#FFFFFF#000000##FFFFFF
##AF367B1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587D
Deuteranopia (green-blind)
#6A6D78
Tritanopia (blue-blind)
#BC3054
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af367b;
/* rgb */ color: rgb(175, 54, 123);
/* oklch */ color: oklch(53.2% 0.171 349.4);
Tailwind
colors: {
  custom: {
    50: '#cb76a1',
    500: '#af367b',
    950: '#000000',
  },
}
SCSS
$custom: #af367b;
$custom-light: #cb76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#af367b",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 325.785,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53151,
    "c": 0.17087,
    "h": 349.4
  },
  "luminance": 0.13182
}

Semantic roles & 50–950 ramp

primary
#AF367B
secondary
#7DC39B
accent
#DC8A4C
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AF367B

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

Preview Lab → · Contrast checker → · Palette generator →

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