#AF385B#AF385B

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

Color values

HEX#AF385B
RGBrgb(175, 56, 91)
HSLhsl(342, 52%, 45%)
HSVhsv(342, 68%, 69%)
CMYKcmyk(0%, 68%, 48%, 31.4%)
CIE-LABlab(42.31, 50.86, 6.71)
CIE-LCHlch(42.31, 51.30, 7.51°)
OKLaboklab(52.28% 0.155 0.0176)
OKLCHoklch(52.28% 0.156 6.5)
XYZxyz(20.9834, 12.7003, 11.2419)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF385B #38AF8C
analogous
#AF3896 #AF385B #AF5138
triadic
#AF385B #5BAF38 #385BAF
tetradic
#AF385B #96AF38 #38AF8C #5138AF
square
#AF385B #96AF38 #38AF8C #5138AF
split-complementary
#AF385B #38AF51 #3896AF
monochromatic
#521A2B #812943 #AF385B #CA5A7B #D988A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF385B#FFFFFF#000000##FFFFFF
##AF385B1.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)
#53555C
Deuteranopia (green-blind)
#726D58
Tritanopia (blue-blind)
#BE2546
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af385b;
/* rgb */ color: rgb(175, 56, 91);
/* oklch */ color: oklch(52.3% 0.156 6.5);
Tailwind
colors: {
  custom: {
    50: '#cc7689',
    500: '#af385b',
    950: '#000000',
  },
}
SCSS
$custom: #af385b;
$custom-light: #cc7689;
$custom-dark: #000000;
JSON
{
  "hex": "#af385b",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 91
  },
  "hsl": {
    "h": 342.353,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52276,
    "c": 0.15604,
    "h": 6.5
  },
  "luminance": 0.12698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF385B

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

Preview Lab → · Contrast checker → · Palette generator →

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