#AF4257#AF4257

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

Color values

HEX#AF4257
RGBrgb(175, 66, 87)
HSLhsl(348, 45%, 47%)
HSVhsv(348, 62%, 69%)
CMYKcmyk(0%, 62.3%, 50.3%, 31.4%)
CIE-LABlab(43.80, 46.17, 11.29)
CIE-LCHlch(43.80, 47.53, 13.74°)
OKLaboklab(53.36% 0.1398 0.0288)
OKLCHoklch(53.36% 0.143 11.7)
XYZxyz(21.3494, 13.7011, 10.5353)
Luminance0.1370 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4257 #42AF9A
analogous
#AF428E #AF4257 #AF6342
triadic
#AF4257 #57AF42 #4257AF
tetradic
#AF4257 #8EAF42 #42AF9A #6342AF
square
#AF4257 #8EAF42 #42AF9A #6342AF
split-complementary
#AF4257 #42AF63 #428EAF
monochromatic
#56202B #833141 #AF4257 #C6687A #D795A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4257#FFFFFF#000000##FFFFFF
##AF42571.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)
#5A5A57
Deuteranopia (green-blind)
#767054
Tritanopia (blue-blind)
#BE314A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af4257;
/* rgb */ color: rgb(175, 66, 87);
/* oklch */ color: oklch(53.4% 0.143 11.7);
Tailwind
colors: {
  custom: {
    50: '#cc7c86',
    500: '#af4257',
    950: '#000000',
  },
}
SCSS
$custom: #af4257;
$custom-light: #cc7c86;
$custom-dark: #000000;
JSON
{
  "hex": "#af4257",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 87
  },
  "hsl": {
    "h": 348.44,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53356,
    "c": 0.14271,
    "h": 11.7
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4257

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

Preview Lab → · Contrast checker → · Palette generator →

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