#AF385F#AF385F

#AF385F is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.4% C 0.157 H 4.3°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AF385F
RGBrgb(175, 56, 95)
HSLhsl(340, 52%, 45%)
HSVhsv(340, 68%, 69%)
CMYKcmyk(0%, 68%, 45.7%, 31.4%)
CIE-LABlab(42.42, 51.24, 4.36)
CIE-LCHlch(42.42, 51.43, 4.87°)
OKLaboklab(52.39% 0.1565 0.0118)
OKLCHoklch(52.39% 0.157 4.3)
XYZxyz(21.1605, 12.7712, 12.1750)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF385F #38AF88
analogous
#AF389A #AF385F #AF4C38
triadic
#AF385F #5FAF38 #385FAF
tetradic
#AF385F #9AAF38 #38AF88 #4C38AF
square
#AF385F #9AAF38 #38AF88 #4C38AF
split-complementary
#AF385F #38AF4C #389AAF
monochromatic
#521A2D #812946 #AF385F #CA5A7F #D988A3

Accessibility & contrast

On white

5.91
#AF385F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AF385F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF385F
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF385F#FFFFFF#000000##FFFFFF
##AF385F1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525560
Deuteranopia (green-blind)
#716D5C
Tritanopia (blue-blind)
#BE2748
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af385f;
/* rgb */ color: rgb(175, 56, 95);
/* oklch */ color: oklch(52.4% 0.157 4.3);
Tailwind
colors: {
  custom: {
    50: '#cc778c',
    500: '#af385f',
    950: '#000000',
  },
}
SCSS
$custom: #af385f;
$custom-light: #cc778c;
$custom-dark: #000000;
JSON
{
  "hex": "#af385f",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 95
  },
  "hsl": {
    "h": 340.336,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52392,
    "c": 0.15697,
    "h": 4.3
  },
  "luminance": 0.12769
}

Semantic roles & 50–950 ramp

primary
#AF385F
secondary
#80C3AD
accent
#DBAC4D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF385F

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

Preview Lab → · Contrast checker → · Palette generator →

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