#AF7286#AF7286

#AF7286 is a light, moderate pink. Relative luminance 0.229; OKLCH L 62.2% C 0.081 H 358.5°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#AF7286
RGBrgb(175, 114, 134)
HSLhsl(340, 28%, 57%)
HSVhsv(340, 35%, 69%)
CMYKcmyk(0%, 34.9%, 23.4%, 31.4%)
CIE-LABlab(54.94, 26.92, -0.95)
CIE-LCHlch(54.94, 26.94, 357.97°)
OKLaboklab(62.2% 0.081 -0.0021)
OKLCHoklch(62.2% 0.081 358.5)
XYZxyz(28.0001, 22.8715, 25.4895)
Luminance0.2287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7286 #72AF9B
analogous
#AF72A5 #AF7286 #AF7D72
triadic
#AF7286 #86AF72 #7286AF
tetradic
#AF7286 #A5AF72 #72AF9B #7D72AF
square
#AF7286 #A5AF72 #72AF9B #7D72AF
split-complementary
#AF7286 #72AF7D #72A5AF
monochromatic
#6A3C4B #915267 #AF7286 #C599A8 #DBC0C9

Accessibility & contrast

On white

3.77
#AF7286 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#AF7286 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7286
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7286#FFFFFF#000000##000000
##AF72861.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7D87
Deuteranopia (green-blind)
#888885
Tritanopia (blue-blind)
#B96F79
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #af7286;
/* rgb */ color: rgb(175, 114, 134);
/* oklch */ color: oklch(62.2% 0.081 358.5);
Tailwind
colors: {
  custom: {
    50: '#c89ba9',
    500: '#af7286',
    950: '#000000',
  },
}
SCSS
$custom: #af7286;
$custom-light: #c89ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#af7286",
  "rgb": {
    "r": 175,
    "g": 114,
    "b": 134
  },
  "hsl": {
    "h": 340.328,
    "s": 27.602,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62198,
    "c": 0.08101,
    "h": 358.5
  },
  "luminance": 0.2287
}

Semantic roles & 50–950 ramp

primary
#AF7286
secondary
#B2CBC3
accent
#C4A464
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E0F
muted
#827E7F

Preview Lab

Preview with #AF7286

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

Preview Lab → · Contrast checker → · Palette generator →

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