#AF378F#AF378F

#AF378F is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.182 H 340.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#AF378F
RGBrgb(175, 55, 143)
HSLhsl(316, 52%, 45%)
HSVhsv(316, 69%, 69%)
CMYKcmyk(0%, 68.6%, 18.3%, 31.4%)
CIE-LABlab(43.99, 57.47, -22.82)
CIE-LCHlch(43.99, 61.83, 338.35°)
OKLaboklab(54.11% 0.1711 -0.0615)
OKLCHoklch(54.11% 0.182 340.2)
XYZxyz(24.0039, 13.8318, 27.3869)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF378F #37AF57
analogous
#9337AF #AF378F #AF3753
triadic
#AF378F #8FAF37 #378FAF
tetradic
#AF378F #AF9337 #37AF57 #3753AF
square
#AF378F #AF9337 #37AF57 #3753AF
split-complementary
#AF378F #53AF37 #37AF93
monochromatic
#521A43 #802869 #AF378F #CB59AC #D987C3

Accessibility & contrast

On white

5.58
#AF378F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#AF378F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF378F
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF378F#FFFFFF#000000##FFFFFF
##AF378F1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C92
Deuteranopia (green-blind)
#646F8C
Tritanopia (blue-blind)
#B93A5E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af378f;
/* rgb */ color: rgb(175, 55, 143);
/* oklch */ color: oklch(54.1% 0.182 340.2);
Tailwind
colors: {
  custom: {
    50: '#ca77b0',
    500: '#af378f',
    950: '#000000',
  },
}
SCSS
$custom: #af378f;
$custom-light: #ca77b0;
$custom-dark: #000000;
JSON
{
  "hex": "#af378f",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 316,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54111,
    "c": 0.18178,
    "h": 340.2
  },
  "luminance": 0.1383
}

Semantic roles & 50–950 ramp

primary
#AF378F
secondary
#7FC391
accent
#DC724C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF378F

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

Preview Lab → · Contrast checker → · Palette generator →

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