#AF4256#AF4256

#AF4256 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.3% C 0.143 H 12.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#AF4256
RGBrgb(175, 66, 86)
HSLhsl(349, 45%, 47%)
HSVhsv(349, 62%, 69%)
CMYKcmyk(0%, 62.3%, 50.9%, 31.4%)
CIE-LABlab(43.78, 46.08, 11.87)
CIE-LCHlch(43.78, 47.59, 14.45°)
OKLaboklab(53.33% 0.1394 0.0302)
OKLCHoklch(53.33% 0.143 12.2)
XYZxyz(21.3088, 13.6849, 10.3216)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4256 #42AF9B
analogous
#AF428C #AF4256 #AF6542
triadic
#AF4256 #56AF42 #4256AF
tetradic
#AF4256 #8CAF42 #42AF9B #6542AF
square
#AF4256 #8CAF42 #42AF9B #6542AF
split-complementary
#AF4256 #42AF65 #428CAF
monochromatic
#56202A #833140 #AF4256 #C66879 #D795A1

Accessibility & contrast

On white

5.62
#AF4256 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AF4256 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4256
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4256#FFFFFF#000000##FFFFFF
##AF42561.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5A56
Deuteranopia (green-blind)
#777053
Tritanopia (blue-blind)
#BE314A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af4256;
/* rgb */ color: rgb(175, 66, 86);
/* oklch */ color: oklch(53.3% 0.143 12.2);
Tailwind
colors: {
  custom: {
    50: '#cc7c85',
    500: '#af4256',
    950: '#000000',
  },
}
SCSS
$custom: #af4256;
$custom-light: #cc7c85;
$custom-dark: #000000;
JSON
{
  "hex": "#af4256",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 86
  },
  "hsl": {
    "h": 348.991,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53331,
    "c": 0.14261,
    "h": 12.2
  },
  "luminance": 0.13682
}

Semantic roles & 50–950 ramp

primary
#AF4256
secondary
#8AC2B8
accent
#D5BD53
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #AF4256

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

Preview Lab → · Contrast checker → · Palette generator →

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