#AF5164#AF5164

#AF5164 is a mid, vivid red. Relative luminance 0.159; OKLCH L 55.8% C 0.124 H 9.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#AF5164
RGBrgb(175, 81, 100)
HSLhsl(348, 37%, 50%)
HSVhsv(348, 54%, 69%)
CMYKcmyk(0%, 53.7%, 42.9%, 31.4%)
CIE-LABlab(46.87, 40.24, 7.65)
CIE-LCHlch(46.87, 40.96, 10.76°)
OKLaboklab(55.77% 0.1221 0.02)
OKLCHoklch(55.77% 0.124 9.3)
XYZxyz(22.9233, 15.9213, 13.9200)
Luminance0.1592 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5164 #51AF9C
analogous
#AF5193 #AF5164 #AF6D51
triadic
#AF5164 #64AF51 #5164AF
tetradic
#AF5164 #93AF51 #51AF9C #6D51AF
square
#AF5164 #93AF51 #51AF9C #6D51AF
split-complementary
#AF5164 #51AF6D #5193AF
monochromatic
#5C2A34 #853D4C #AF5164 #C27B89 #D6A5AF

Accessibility & contrast

On white

5.02
#AF5164 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#AF5164 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5164
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5164#FFFFFF#000000##FFFFFF
##AF51641.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af5164;
/* rgb */ color: rgb(175, 81, 100);
/* oklch */ color: oklch(55.8% 0.124 9.3);
Tailwind
colors: {
  custom: {
    50: '#ca8590',
    500: '#af5164',
    950: '#000000',
  },
}
SCSS
$custom: #af5164;
$custom-light: #ca8590;
$custom-dark: #000000;
JSON
{
  "hex": "#af5164",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 100
  },
  "hsl": {
    "h": 347.872,
    "s": 37.008,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55766,
    "c": 0.12374,
    "h": 9.3
  },
  "luminance": 0.15919
}

Semantic roles & 50–950 ramp

primary
#AF5164
secondary
#99C3BA
accent
#CDB65B
background
#FCF8F8
surface
#F9EFF0
border
#D2CACB
text
#140B0C
muted
#827C7D

Preview Lab

Preview with #AF5164

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

Preview Lab → · Contrast checker → · Palette generator →

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