#AF378E#AF378E

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

Color values

HEX#AF378E
RGBrgb(175, 55, 142)
HSLhsl(317, 52%, 45%)
HSVhsv(317, 69%, 69%)
CMYKcmyk(0%, 68.6%, 18.9%, 31.4%)
CIE-LABlab(43.95, 57.32, -22.28)
CIE-LCHlch(43.95, 61.50, 338.76°)
OKLaboklab(54.07% 0.1709 -0.0599)
OKLCHoklch(54.07% 0.181 340.7)
XYZxyz(23.9285, 13.8016, 26.9897)
Luminance0.1380 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF378E #37AF58
analogous
#9437AF #AF378E #AF3752
triadic
#AF378E #8EAF37 #378EAF
tetradic
#AF378E #AF9437 #37AF58 #3752AF
square
#AF378E #AF9437 #37AF58 #3752AF
split-complementary
#AF378E #52AF37 #37AF94
monochromatic
#521A42 #802868 #AF378E #CB59AB #D987C3

Accessibility & contrast

On white

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

On black

3.76
#AF378E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF378E#FFFFFF#000000##FFFFFF
##AF378E1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5C91
Deuteranopia (green-blind)
#646F8B
Tritanopia (blue-blind)
#B93A5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af378e;
/* rgb */ color: rgb(175, 55, 142);
/* oklch */ color: oklch(54.1% 0.181 340.7);
Tailwind
colors: {
  custom: {
    50: '#ca77af',
    500: '#af378e',
    950: '#000000',
  },
}
SCSS
$custom: #af378e;
$custom-light: #ca77af;
$custom-dark: #000000;
JSON
{
  "hex": "#af378e",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 316.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.18111,
    "h": 340.7
  },
  "luminance": 0.13799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF378E

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

Preview Lab → · Contrast checker → · Palette generator →

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