#AF4157#AF4157

#AF4157 is a mid, vivid red. Relative luminance 0.136; OKLCH L 53.2% C 0.144 H 11.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#AF4157
RGBrgb(175, 65, 87)
HSLhsl(348, 46%, 47%)
HSVhsv(348, 63%, 69%)
CMYKcmyk(0%, 62.9%, 50.3%, 31.4%)
CIE-LABlab(43.63, 46.63, 11.05)
CIE-LCHlch(43.63, 47.92, 13.34°)
OKLaboklab(53.23% 0.1412 0.0283)
OKLCHoklch(53.23% 0.144 11.3)
XYZxyz(21.2915, 13.5853, 10.5160)
Luminance0.1358 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4157 #41AF99
analogous
#AF418E #AF4157 #AF6241
triadic
#AF4157 #57AF41 #4157AF
tetradic
#AF4157 #8EAF41 #41AF99 #6241AF
square
#AF4157 #8EAF41 #41AF99 #6241AF
split-complementary
#AF4157 #41AF62 #418EAF
monochromatic
#56202B #823041 #AF4157 #C6677A #D793A1

Accessibility & contrast

On white

5.65
#AF4157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AF4157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4157
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4157#FFFFFF#000000##FFFFFF
##AF41571.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5957
Deuteranopia (green-blind)
#766F54
Tritanopia (blue-blind)
#BE3049
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af4157;
/* rgb */ color: rgb(175, 65, 87);
/* oklch */ color: oklch(53.2% 0.144 11.3);
Tailwind
colors: {
  custom: {
    50: '#cc7b86',
    500: '#af4157',
    950: '#000000',
  },
}
SCSS
$custom: #af4157;
$custom-light: #cc7b86;
$custom-dark: #000000;
JSON
{
  "hex": "#af4157",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 87
  },
  "hsl": {
    "h": 348,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.5323,
    "c": 0.14401,
    "h": 11.3
  },
  "luminance": 0.13583
}

Semantic roles & 50–950 ramp

primary
#AF4157
secondary
#89C2B7
accent
#D5BB52
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #AF4157

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

Preview Lab → · Contrast checker → · Palette generator →

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