#AF385C#AF385C

#AF385C is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.3% C 0.156 H 5.9°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AF385C
RGBrgb(175, 56, 92)
HSLhsl(342, 52%, 45%)
HSVhsv(342, 68%, 69%)
CMYKcmyk(0%, 68%, 47.4%, 31.4%)
CIE-LABlab(42.33, 50.96, 6.12)
CIE-LCHlch(42.33, 51.32, 6.85°)
OKLaboklab(52.31% 0.1554 0.0162)
OKLCHoklch(52.31% 0.156 5.9)
XYZxyz(21.0268, 12.7177, 11.4706)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF385C #38AF8B
analogous
#AF3897 #AF385C #AF5038
triadic
#AF385C #5CAF38 #385CAF
tetradic
#AF385C #97AF38 #38AF8B #5038AF
square
#AF385C #97AF38 #38AF8B #5038AF
split-complementary
#AF385C #38AF50 #3897AF
monochromatic
#521A2B #812944 #AF385C #CA5A7C #D988A1

Accessibility & contrast

On white

5.93
#AF385C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AF385C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF385C
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF385C#FFFFFF#000000##FFFFFF
##AF385C1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52555D
Deuteranopia (green-blind)
#726D59
Tritanopia (blue-blind)
#BE2646
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af385c;
/* rgb */ color: rgb(175, 56, 92);
/* oklch */ color: oklch(52.3% 0.156 5.9);
Tailwind
colors: {
  custom: {
    50: '#cc7689',
    500: '#af385c',
    950: '#000000',
  },
}
SCSS
$custom: #af385c;
$custom-light: #cc7689;
$custom-dark: #000000;
JSON
{
  "hex": "#af385c",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 92
  },
  "hsl": {
    "h": 341.849,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.15626,
    "h": 5.9
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#AF385C
secondary
#80C3AF
accent
#DBB04D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF385C

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

Preview Lab → · Contrast checker → · Palette generator →

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