#AF377B#AF377B

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

Color values

HEX#AF377B
RGBrgb(175, 55, 123)
HSLhsl(326, 52%, 45%)
HSVhsv(326, 69%, 69%)
CMYKcmyk(0%, 68.6%, 29.7%, 31.4%)
CIE-LABlab(43.18, 54.77, -11.86)
CIE-LCHlch(43.18, 56.04, 347.79°)
OKLaboklab(53.25% 0.1667 -0.031)
OKLCHoklch(53.25% 0.17 349.5)
XYZxyz(22.6216, 13.2788, 20.1068)
Luminance0.1328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF377B #37AF6B
analogous
#A737AF #AF377B #AF373F
triadic
#AF377B #7BAF37 #377BAF
tetradic
#AF377B #AFA737 #37AF6B #373FAF
square
#AF377B #AFA737 #37AF6B #373FAF
split-complementary
#AF377B #3FAF37 #37AFA7
monochromatic
#521A3A #80285A #AF377B #CB5999 #D987B6

Accessibility & contrast

On white

5.75
#AF377B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF377B
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF377B#FFFFFF#000000##FFFFFF
##AF377B1.005.753.665.75
#FFFFFF5.751.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597D
Deuteranopia (green-blind)
#6A6E78
Tritanopia (blue-blind)
#BB3154
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af377b;
/* rgb */ color: rgb(175, 55, 123);
/* oklch */ color: oklch(53.3% 0.170 349.5);
Tailwind
colors: {
  custom: {
    50: '#cb77a1',
    500: '#af377b',
    950: '#000000',
  },
}
SCSS
$custom: #af377b;
$custom-light: #cb77a1;
$custom-dark: #000000;
JSON
{
  "hex": "#af377b",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 123
  },
  "hsl": {
    "h": 326,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53253,
    "c": 0.16957,
    "h": 349.5
  },
  "luminance": 0.13276
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF377B

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

Preview Lab → · Contrast checker → · Palette generator →

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