#AF378C#AF378C

#AF378C is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.180 H 341.5°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF378C
RGBrgb(175, 55, 140)
HSLhsl(318, 52%, 45%)
HSVhsv(318, 69%, 69%)
CMYKcmyk(0%, 68.6%, 20%, 31.4%)
CIE-LABlab(43.86, 57.04, -21.20)
CIE-LCHlch(43.86, 60.85, 339.61°)
OKLaboklab(53.97% 0.1705 -0.0569)
OKLCHoklch(53.97% 0.18 341.5)
XYZxyz(23.7797, 13.7421, 26.2060)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF378C #37AF5A
analogous
#9637AF #AF378C #AF3750
triadic
#AF378C #8CAF37 #378CAF
tetradic
#AF378C #AF9637 #37AF5A #3750AF
square
#AF378C #AF9637 #37AF5A #3750AF
split-complementary
#AF378C #50AF37 #37AF96
monochromatic
#521A41 #802867 #AF378C #CB59A9 #D987C1

Accessibility & contrast

On white

5.60
#AF378C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF378C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF378C
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF378C#FFFFFF#000000##FFFFFF
##AF378C1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8E
Deuteranopia (green-blind)
#656F89
Tritanopia (blue-blind)
#BA395C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af378c;
/* rgb */ color: rgb(175, 55, 140);
/* oklch */ color: oklch(54.0% 0.180 341.5);
Tailwind
colors: {
  custom: {
    50: '#ca77ad',
    500: '#af378c',
    950: '#000000',
  },
}
SCSS
$custom: #af378c;
$custom-light: #ca77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af378c",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 317.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53974,
    "c": 0.17978,
    "h": 341.5
  },
  "luminance": 0.1374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF378C

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

Preview Lab → · Contrast checker → · Palette generator →

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