#AF378B#AF378B

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

Color values

HEX#AF378B
RGBrgb(175, 55, 139)
HSLhsl(318, 52%, 45%)
HSVhsv(318, 69%, 69%)
CMYKcmyk(0%, 68.6%, 20.6%, 31.4%)
CIE-LABlab(43.82, 56.90, -20.66)
CIE-LCHlch(43.82, 60.53, 340.05°)
OKLaboklab(53.93% 0.1704 -0.0554)
OKLCHoklch(53.93% 0.179 342)
XYZxyz(23.7063, 13.7127, 25.8194)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF378B #37AF5B
analogous
#9737AF #AF378B #AF374F
triadic
#AF378B #8BAF37 #378BAF
tetradic
#AF378B #AF9737 #37AF5B #374FAF
square
#AF378B #AF9737 #37AF5B #374FAF
split-complementary
#AF378B #4FAF37 #37AF97
monochromatic
#521A41 #802866 #AF378B #CB59A8 #D987C1

Accessibility & contrast

On white

5.61
#AF378B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF378B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF378B#FFFFFF#000000##FFFFFF
##AF378B1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8D
Deuteranopia (green-blind)
#656F88
Tritanopia (blue-blind)
#BA385C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af378b;
/* rgb */ color: rgb(175, 55, 139);
/* oklch */ color: oklch(53.9% 0.179 342.0);
Tailwind
colors: {
  custom: {
    50: '#ca77ad',
    500: '#af378b',
    950: '#000000',
  },
}
SCSS
$custom: #af378b;
$custom-light: #ca77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af378b",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 318,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53929,
    "c": 0.17913,
    "h": 342
  },
  "luminance": 0.1371
}

Semantic roles & 50–950 ramp

primary
#AF378B
secondary
#7FC393
accent
#DC774C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF378B

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

Preview Lab → · Contrast checker → · Palette generator →

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