#AF378A#AF378A

#AF378A is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.9% C 0.178 H 342.4°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AF378A
RGBrgb(175, 55, 138)
HSLhsl(319, 52%, 45%)
HSVhsv(319, 69%, 69%)
CMYKcmyk(0%, 68.6%, 21.1%, 31.4%)
CIE-LABlab(43.78, 56.76, -20.12)
CIE-LCHlch(43.78, 60.22, 340.49°)
OKLaboklab(53.88% 0.1702 -0.0539)
OKLCHoklch(53.88% 0.178 342.4)
XYZxyz(23.6336, 13.6836, 25.4364)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF378A #37AF5C
analogous
#9837AF #AF378A #AF374E
triadic
#AF378A #8AAF37 #378AAF
tetradic
#AF378A #AF9837 #37AF5C #374EAF
square
#AF378A #AF9837 #37AF5C #374EAF
split-complementary
#AF378A #4EAF37 #37AF98
monochromatic
#521A41 #802865 #AF378A #CB59A7 #D987C0

Accessibility & contrast

On white

5.62
#AF378A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AF378A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF378A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF378A#FFFFFF#000000##FFFFFF
##AF378A1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8C
Deuteranopia (green-blind)
#666F87
Tritanopia (blue-blind)
#BA385B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af378a;
/* rgb */ color: rgb(175, 55, 138);
/* oklch */ color: oklch(53.9% 0.178 342.4);
Tailwind
colors: {
  custom: {
    50: '#ca77ac',
    500: '#af378a',
    950: '#000000',
  },
}
SCSS
$custom: #af378a;
$custom-light: #ca77ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af378a",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 138
  },
  "hsl": {
    "h": 318.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53884,
    "c": 0.17848,
    "h": 342.4
  },
  "luminance": 0.13681
}

Semantic roles & 50–950 ramp

primary
#AF378A
secondary
#7FC394
accent
#DC784C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF378A

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

Preview Lab → · Contrast checker → · Palette generator →

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