#AF5264#AF5264

#AF5264 is a mid, vivid red. Relative luminance 0.161; OKLCH L 55.9% C 0.122 H 9.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF5264
RGBrgb(175, 82, 100)
HSLhsl(348, 37%, 50%)
HSVhsv(348, 53%, 69%)
CMYKcmyk(0%, 53.1%, 42.9%, 31.4%)
CIE-LABlab(47.07, 39.73, 7.92)
CIE-LCHlch(47.07, 40.51, 11.28°)
OKLaboklab(55.91% 0.1205 0.0207)
OKLCHoklch(55.91% 0.122 9.8)
XYZxyz(22.9982, 16.0710, 13.9450)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5264 #52AF9D
analogous
#AF5292 #AF5264 #AF6E52
triadic
#AF5264 #64AF52 #5264AF
tetradic
#AF5264 #92AF52 #52AF9D #6E52AF
square
#AF5264 #92AF52 #52AF9D #6E52AF
split-complementary
#AF5264 #52AF6E #5292AF
monochromatic
#5C2B34 #863E4C #AF5264 #C27C89 #D6A6AF

Accessibility & contrast

On white

4.98
#AF5264 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#AF5264 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5264
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5264#FFFFFF#000000##FFFFFF
##AF52641.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#646464
Deuteranopia (green-blind)
#7C7762
Tritanopia (blue-blind)
#BD4759
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af5264;
/* rgb */ color: rgb(175, 82, 100);
/* oklch */ color: oklch(55.9% 0.122 9.8);
Tailwind
colors: {
  custom: {
    50: '#ca8590',
    500: '#af5264',
    950: '#000000',
  },
}
SCSS
$custom: #af5264;
$custom-light: #ca8590;
$custom-dark: #000000;
JSON
{
  "hex": "#af5264",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 100
  },
  "hsl": {
    "h": 348.387,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55914,
    "c": 0.1223,
    "h": 9.8
  },
  "luminance": 0.16069
}

Semantic roles & 50–950 ramp

primary
#AF5264
secondary
#9AC3BB
accent
#CDB75B
background
#FCF8F8
surface
#F9EFF0
border
#D2CACB
text
#140B0C
muted
#827C7D

Preview Lab

Preview with #AF5264

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

Preview Lab → · Contrast checker → · Palette generator →

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