#AF395D#AF395D

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

Color values

HEX#AF395D
RGBrgb(175, 57, 93)
HSLhsl(342, 51%, 45%)
HSVhsv(342, 67%, 69%)
CMYKcmyk(0%, 67.4%, 46.9%, 31.4%)
CIE-LABlab(42.51, 50.64, 5.75)
CIE-LCHlch(42.51, 50.97, 6.47°)
OKLaboklab(52.44% 0.1545 0.0152)
OKLCHoklch(52.44% 0.155 5.6)
XYZxyz(21.1197, 12.8332, 11.7187)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF395D #39AF8B
analogous
#AF3998 #AF395D #AF5039
triadic
#AF395D #5DAF39 #395DAF
tetradic
#AF395D #98AF39 #39AF8B #5039AF
square
#AF395D #98AF39 #39AF8B #5039AF
split-complementary
#AF395D #39AF50 #3998AF
monochromatic
#531B2C #812A44 #AF395D #CA5B7D #D98AA2

Accessibility & contrast

On white

5.89
#AF395D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF395D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF395D#FFFFFF#000000##FFFFFF
##AF395D1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53565E
Deuteranopia (green-blind)
#726D5A
Tritanopia (blue-blind)
#BE2747
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af395d;
/* rgb */ color: rgb(175, 57, 93);
/* oklch */ color: oklch(52.4% 0.155 5.6);
Tailwind
colors: {
  custom: {
    50: '#cc778a',
    500: '#af395d',
    950: '#000000',
  },
}
SCSS
$custom: #af395d;
$custom-light: #cc778a;
$custom-dark: #000000;
JSON
{
  "hex": "#af395d",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 93
  },
  "hsl": {
    "h": 341.695,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52444,
    "c": 0.15524,
    "h": 5.6
  },
  "luminance": 0.12831
}

Semantic roles & 50–950 ramp

primary
#AF395D
secondary
#81C3AF
accent
#DAAF4D
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF395D

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

Preview Lab → · Contrast checker → · Palette generator →

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