#AF395E#AF395E

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

Color values

HEX#AF395E
RGBrgb(175, 57, 94)
HSLhsl(341, 51%, 45%)
HSVhsv(341, 67%, 69%)
CMYKcmyk(0%, 67.4%, 46.3%, 31.4%)
CIE-LABlab(42.54, 50.74, 5.16)
CIE-LCHlch(42.54, 51.00, 5.81°)
OKLaboklab(52.47% 0.1549 0.0138)
OKLCHoklch(52.47% 0.155 5.1)
XYZxyz(21.1643, 12.8510, 11.9535)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF395E #39AF8A
analogous
#AF3999 #AF395E #AF4F39
triadic
#AF395E #5EAF39 #395EAF
tetradic
#AF395E #99AF39 #39AF8A #4F39AF
square
#AF395E #99AF39 #39AF8A #4F39AF
split-complementary
#AF395E #39AF4F #3999AF
monochromatic
#531B2C #812A45 #AF395E #CA5B7E #D98AA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF395E#FFFFFF#000000##FFFFFF
##AF395E1.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)
#52565F
Deuteranopia (green-blind)
#726D5B
Tritanopia (blue-blind)
#BE2848
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af395e;
/* rgb */ color: rgb(175, 57, 94);
/* oklch */ color: oklch(52.5% 0.155 5.1);
Tailwind
colors: {
  custom: {
    50: '#cc778b',
    500: '#af395e',
    950: '#000000',
  },
}
SCSS
$custom: #af395e;
$custom-light: #cc778b;
$custom-dark: #000000;
JSON
{
  "hex": "#af395e",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 94
  },
  "hsl": {
    "h": 341.186,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52473,
    "c": 0.15547,
    "h": 5.1
  },
  "luminance": 0.12848
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF395E

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

Preview Lab → · Contrast checker → · Palette generator →

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