#AF388E#AF388E

#AF388E is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.2% C 0.180 H 340.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AF388E
RGBrgb(175, 56, 142)
HSLhsl(317, 52%, 45%)
HSVhsv(317, 68%, 69%)
CMYKcmyk(0%, 68%, 18.9%, 31.4%)
CIE-LABlab(44.09, 56.94, -22.06)
CIE-LCHlch(44.09, 61.06, 338.82°)
OKLaboklab(54.17% 0.1697 -0.0594)
OKLCHoklch(54.17% 0.18 340.7)
XYZxyz(23.9765, 13.8976, 27.0057)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF388E #38AF59
analogous
#9538AF #AF388E #AF3852
triadic
#AF388E #8EAF38 #388EAF
tetradic
#AF388E #AF9538 #38AF59 #3852AF
square
#AF388E #AF9538 #38AF59 #3852AF
split-complementary
#AF388E #52AF38 #38AF95
monochromatic
#521A43 #812968 #AF388E #CA5AAB #D988C3

Accessibility & contrast

On white

5.56
#AF388E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AF388E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF388E
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF388E#FFFFFF#000000##FFFFFF
##AF388E1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C90
Deuteranopia (green-blind)
#656F8B
Tritanopia (blue-blind)
#B93B5E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af388e;
/* rgb */ color: rgb(175, 56, 142);
/* oklch */ color: oklch(54.2% 0.180 340.7);
Tailwind
colors: {
  custom: {
    50: '#ca78af',
    500: '#af388e',
    950: '#000000',
  },
}
SCSS
$custom: #af388e;
$custom-light: #ca78af;
$custom-dark: #000000;
JSON
{
  "hex": "#af388e",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 316.639,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54166,
    "c": 0.17981,
    "h": 340.7
  },
  "luminance": 0.13895
}

Semantic roles & 50–950 ramp

primary
#AF388E
secondary
#80C392
accent
#DB744D
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF388E

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

Preview Lab → · Contrast checker → · Palette generator →

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