#AF4154#AF4154

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

Color values

HEX#AF4154
RGBrgb(175, 65, 84)
HSLhsl(350, 46%, 47%)
HSVhsv(350, 63%, 69%)
CMYKcmyk(0%, 62.9%, 52%, 31.4%)
CIE-LABlab(43.56, 46.36, 12.81)
CIE-LCHlch(43.56, 48.10, 15.44°)
OKLaboklab(53.15% 0.14 0.0325)
OKLCHoklch(53.15% 0.144 13.1)
XYZxyz(21.1715, 13.5373, 9.8839)
Luminance0.1353 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4154 #41AF9C
analogous
#AF418B #AF4154 #AF6541
triadic
#AF4154 #54AF41 #4154AF
tetradic
#AF4154 #8BAF41 #41AF9C #6541AF
square
#AF4154 #8BAF41 #41AF9C #6541AF
split-complementary
#AF4154 #41AF65 #418BAF
monochromatic
#562029 #82303F #AF4154 #C66777 #D7939F

Accessibility & contrast

On white

5.66
#AF4154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF4154 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4154
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4154#FFFFFF#000000##FFFFFF
##AF41541.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5954
Deuteranopia (green-blind)
#766F51
Tritanopia (blue-blind)
#BF2F48
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af4154;
/* rgb */ color: rgb(175, 65, 84);
/* oklch */ color: oklch(53.2% 0.144 13.1);
Tailwind
colors: {
  custom: {
    50: '#cc7b83',
    500: '#af4154',
    950: '#000000',
  },
}
SCSS
$custom: #af4154;
$custom-light: #cc7b83;
$custom-dark: #000000;
JSON
{
  "hex": "#af4154",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 84
  },
  "hsl": {
    "h": 349.636,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53154,
    "c": 0.14372,
    "h": 13.1
  },
  "luminance": 0.13535
}

Semantic roles & 50–950 ramp

primary
#AF4154
secondary
#89C2B9
accent
#D5BF52
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AF4154

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

Preview Lab → · Contrast checker → · Palette generator →

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