#AF395F#AF395F

#AF395F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.5% C 0.156 H 4.5°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF395F
RGBrgb(175, 57, 95)
HSLhsl(341, 51%, 45%)
HSVhsv(341, 67%, 69%)
CMYKcmyk(0%, 67.4%, 45.7%, 31.4%)
CIE-LABlab(42.57, 50.84, 4.58)
CIE-LCHlch(42.57, 51.04, 5.15°)
OKLaboklab(52.5% 0.1552 0.0123)
OKLCHoklch(52.5% 0.156 4.5)
XYZxyz(21.2095, 12.8691, 12.1913)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF395F #39AF89
analogous
#AF399A #AF395F #AF4E39
triadic
#AF395F #5FAF39 #395FAF
tetradic
#AF395F #9AAF39 #39AF89 #4E39AF
square
#AF395F #9AAF39 #39AF89 #4E39AF
split-complementary
#AF395F #39AF4E #399AAF
monochromatic
#531B2D #812A46 #AF395F #CA5B7F #D98AA3

Accessibility & contrast

On white

5.88
#AF395F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF395F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF395F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF395F#FFFFFF#000000##FFFFFF
##AF395F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af395f;
/* rgb */ color: rgb(175, 57, 95);
/* oklch */ color: oklch(52.5% 0.156 4.5);
Tailwind
colors: {
  custom: {
    50: '#cc778c',
    500: '#af395f',
    950: '#000000',
  },
}
SCSS
$custom: #af395f;
$custom-light: #cc778c;
$custom-dark: #000000;
JSON
{
  "hex": "#af395f",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 95
  },
  "hsl": {
    "h": 340.678,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52502,
    "c": 0.15572,
    "h": 4.5
  },
  "luminance": 0.12866
}

Semantic roles & 50–950 ramp

primary
#AF395F
secondary
#81C3AE
accent
#DAAD4D
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF395F

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

Preview Lab → · Contrast checker → · Palette generator →

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