#AF4958#AF4958

#AF4958 is a mid, vivid red. Relative luminance 0.146; OKLCH L 54.3% C 0.134 H 13.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AF4958
RGBrgb(175, 73, 88)
HSLhsl(351, 41%, 49%)
HSVhsv(351, 58%, 69%)
CMYKcmyk(0%, 58.3%, 49.7%, 31.4%)
CIE-LABlab(45.06, 42.98, 12.42)
CIE-LCHlch(45.06, 44.74, 16.12°)
OKLaboklab(54.31% 0.1298 0.0316)
OKLCHoklch(54.31% 0.134 13.7)
XYZxyz(21.8248, 14.5862, 10.8967)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4958 #49AFA0
analogous
#AF498B #AF4958 #AF6D49
triadic
#AF4958 #58AF49 #4958AF
tetradic
#AF4958 #8BAF49 #49AFA0 #6D49AF
square
#AF4958 #8BAF49 #49AFA0 #6D49AF
split-complementary
#AF4958 #49AF6D #498BAF
monochromatic
#59252D #843742 #AF4958 #C4717D #D69CA5

Accessibility & contrast

On white

5.36
#AF4958 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF4958 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4958
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4958#FFFFFF#000000##FFFFFF
##AF49581.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5E58
Deuteranopia (green-blind)
#797256
Tritanopia (blue-blind)
#BE3A4F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4958;
/* rgb */ color: rgb(175, 73, 88);
/* oklch */ color: oklch(54.3% 0.134 13.7);
Tailwind
colors: {
  custom: {
    50: '#cb8087',
    500: '#af4958',
    950: '#000000',
  },
}
SCSS
$custom: #af4958;
$custom-light: #cb8087;
$custom-dark: #000000;
JSON
{
  "hex": "#af4958",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 88
  },
  "hsl": {
    "h": 351.176,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54309,
    "c": 0.13359,
    "h": 13.7
  },
  "luminance": 0.14584
}

Semantic roles & 50–950 ramp

primary
#AF4958
secondary
#91C2BB
accent
#D1BF57
background
#FDF8F8
surface
#FAEFEF
border
#D3CACA
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #AF4958

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

Preview Lab → · Contrast checker → · Palette generator →

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