#AF5064#AF5064

#AF5064 is a mid, vivid red. Relative luminance 0.158; OKLCH L 55.6% C 0.125 H 8.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#AF5064
RGBrgb(175, 80, 100)
HSLhsl(347, 37%, 50%)
HSVhsv(347, 54%, 69%)
CMYKcmyk(0%, 54.3%, 42.9%, 31.4%)
CIE-LABlab(46.68, 40.74, 7.37)
CIE-LCHlch(46.68, 41.40, 10.25°)
OKLaboklab(55.62% 0.1237 0.0193)
OKLCHoklch(55.62% 0.125 8.9)
XYZxyz(22.8495, 15.7738, 13.8954)
Luminance0.1577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5064 #50AF9B
analogous
#AF5094 #AF5064 #AF6B50
triadic
#AF5064 #64AF50 #5064AF
tetradic
#AF5064 #94AF50 #50AF9B #6B50AF
square
#AF5064 #94AF50 #50AF9B #6B50AF
split-complementary
#AF5064 #50AF6B #5094AF
monochromatic
#5B2A34 #853D4C #AF5064 #C27A89 #D5A4AE

Accessibility & contrast

On white

5.06
#AF5064 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF5064 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5064
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5064#FFFFFF#000000##FFFFFF
##AF50641.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636364
Deuteranopia (green-blind)
#7B7662
Tritanopia (blue-blind)
#BD4557
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af5064;
/* rgb */ color: rgb(175, 80, 100);
/* oklch */ color: oklch(55.6% 0.125 8.9);
Tailwind
colors: {
  custom: {
    50: '#cb8490',
    500: '#af5064',
    950: '#000000',
  },
}
SCSS
$custom: #af5064;
$custom-light: #cb8490;
$custom-dark: #000000;
JSON
{
  "hex": "#af5064",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 100
  },
  "hsl": {
    "h": 347.368,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.55619,
    "c": 0.12519,
    "h": 8.9
  },
  "luminance": 0.15771
}

Semantic roles & 50–950 ramp

primary
#AF5064
secondary
#98C3BA
accent
#CDB55B
background
#FCF8F8
surface
#F9EFF0
border
#D2CACB
text
#140B0C
muted
#827C7D

Preview Lab

Preview with #AF5064

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

Preview Lab → · Contrast checker → · Palette generator →

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