#AF378D#AF378D

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

Color values

HEX#AF378D
RGBrgb(175, 55, 141)
HSLhsl(317, 52%, 45%)
HSVhsv(317, 69%, 69%)
CMYKcmyk(0%, 68.6%, 19.4%, 31.4%)
CIE-LABlab(43.90, 57.18, -21.74)
CIE-LCHlch(43.90, 61.17, 339.18°)
OKLaboklab(54.02% 0.1707 -0.0584)
OKLCHoklch(54.02% 0.18 341.1)
XYZxyz(23.8538, 13.7717, 26.5961)
Luminance0.1377 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF378D #37AF59
analogous
#9537AF #AF378D #AF3751
triadic
#AF378D #8DAF37 #378DAF
tetradic
#AF378D #AF9537 #37AF59 #3751AF
square
#AF378D #AF9537 #37AF59 #3751AF
split-complementary
#AF378D #51AF37 #37AF95
monochromatic
#521A42 #802867 #AF378D #CB59AA #D987C2

Accessibility & contrast

On white

5.59
#AF378D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF378D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF378D#FFFFFF#000000##FFFFFF
##AF378D1.005.593.755.59
#FFFFFF5.591.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8F
Deuteranopia (green-blind)
#656F8A
Tritanopia (blue-blind)
#B9395D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af378d;
/* rgb */ color: rgb(175, 55, 141);
/* oklch */ color: oklch(54.0% 0.180 341.1);
Tailwind
colors: {
  custom: {
    50: '#ca77ae',
    500: '#af378d',
    950: '#000000',
  },
}
SCSS
$custom: #af378d;
$custom-light: #ca77ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af378d",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 317,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5402,
    "c": 0.18044,
    "h": 341.1
  },
  "luminance": 0.13769
}

Semantic roles & 50–950 ramp

primary
#AF378D
secondary
#7FC392
accent
#DC754C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF378D

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

Preview Lab → · Contrast checker → · Palette generator →

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