#AF4255#AF4255

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

Color values

HEX#AF4255
RGBrgb(175, 66, 85)
HSLhsl(350, 45%, 47%)
HSVhsv(350, 62%, 69%)
CMYKcmyk(0%, 62.3%, 51.4%, 31.4%)
CIE-LABlab(43.75, 45.99, 12.46)
CIE-LCHlch(43.75, 47.65, 15.15°)
OKLaboklab(53.31% 0.139 0.0316)
OKLCHoklch(53.31% 0.143 12.8)
XYZxyz(21.2688, 13.6689, 10.1109)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4255 #42AF9C
analogous
#AF428C #AF4255 #AF6542
triadic
#AF4255 #55AF42 #4255AF
tetradic
#AF4255 #8CAF42 #42AF9C #6542AF
square
#AF4255 #8CAF42 #42AF9C #6542AF
split-complementary
#AF4255 #42AF65 #428CAF
monochromatic
#56202A #83313F #AF4255 #C66878 #D795A0

Accessibility & contrast

On white

5.63
#AF4255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#AF4255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4255
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4255#FFFFFF#000000##FFFFFF
##AF42551.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5955
Deuteranopia (green-blind)
#777052
Tritanopia (blue-blind)
#BE3149
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af4255;
/* rgb */ color: rgb(175, 66, 85);
/* oklch */ color: oklch(53.3% 0.143 12.8);
Tailwind
colors: {
  custom: {
    50: '#cc7c84',
    500: '#af4255',
    950: '#000000',
  },
}
SCSS
$custom: #af4255;
$custom-light: #cc7c84;
$custom-dark: #000000;
JSON
{
  "hex": "#af4255",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 85
  },
  "hsl": {
    "h": 349.541,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53306,
    "c": 0.14253,
    "h": 12.8
  },
  "luminance": 0.13666
}

Semantic roles & 50–950 ramp

primary
#AF4255
secondary
#8AC2B9
accent
#D5BE53
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #AF4255

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

Preview Lab → · Contrast checker → · Palette generator →

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