#AF4758#AF4758

#AF4758 is a mid, vivid red. Relative luminance 0.143; OKLCH L 54.0% C 0.136 H 12.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#AF4758
RGBrgb(175, 71, 88)
HSLhsl(350, 42%, 48%)
HSVhsv(350, 59%, 69%)
CMYKcmyk(0%, 59.4%, 49.7%, 31.4%)
CIE-LABlab(44.70, 43.94, 11.92)
CIE-LCHlch(44.70, 45.53, 15.18°)
OKLaboklab(54.04% 0.1328 0.0304)
OKLCHoklch(54.04% 0.136 12.9)
XYZxyz(21.6955, 14.3276, 10.8536)
Luminance0.1432 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4758 #47AF9E
analogous
#AF478C #AF4758 #AF6A47
triadic
#AF4758 #58AF47 #4758AF
tetradic
#AF4758 #8CAF47 #47AF9E #6A47AF
square
#AF4758 #8CAF47 #47AF9E #6A47AF
split-complementary
#AF4758 #47AF6A #478CAF
monochromatic
#58242C #833542 #AF4758 #C46F7D #D69AA4

Accessibility & contrast

On white

5.43
#AF4758 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF4758 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4758
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4758#FFFFFF#000000##FFFFFF
##AF47581.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5D58
Deuteranopia (green-blind)
#787256
Tritanopia (blue-blind)
#BE384E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4758;
/* rgb */ color: rgb(175, 71, 88);
/* oklch */ color: oklch(54.0% 0.136 12.9);
Tailwind
colors: {
  custom: {
    50: '#cb7f87',
    500: '#af4758',
    950: '#000000',
  },
}
SCSS
$custom: #af4758;
$custom-light: #cb7f87;
$custom-dark: #000000;
JSON
{
  "hex": "#af4758",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 88
  },
  "hsl": {
    "h": 350.192,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54037,
    "c": 0.13625,
    "h": 12.9
  },
  "luminance": 0.14325
}

Semantic roles & 50–950 ramp

primary
#AF4758
secondary
#8FC2BA
accent
#D2BE56
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #AF4758

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

Preview Lab → · Contrast checker → · Palette generator →

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