#AF3954#AF3954

#AF3954 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.2% C 0.154 H 10.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AF3954
RGBrgb(175, 57, 84)
HSLhsl(346, 51%, 45%)
HSVhsv(346, 67%, 69%)
CMYKcmyk(0%, 67.4%, 52%, 31.4%)
CIE-LABlab(42.28, 49.83, 11.03)
CIE-LCHlch(42.28, 51.03, 12.49°)
OKLaboklab(52.2% 0.151 0.0282)
OKLCHoklch(52.2% 0.154 10.6)
XYZxyz(20.7443, 12.6830, 9.7415)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3954 #39AF94
analogous
#AF398F #AF3954 #AF5939
triadic
#AF3954 #54AF39 #3954AF
tetradic
#AF3954 #8FAF39 #39AF94 #5939AF
square
#AF3954 #8FAF39 #39AF94 #5939AF
split-complementary
#AF3954 #39AF59 #398FAF
monochromatic
#531B28 #812A3E #AF3954 #CA5B75 #D98A9C

Accessibility & contrast

On white

5.94
#AF3954 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AF3954 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3954
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3954#FFFFFF#000000##FFFFFF
##AF39541.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555554
Deuteranopia (green-blind)
#736D51
Tritanopia (blue-blind)
#BF2444
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3954;
/* rgb */ color: rgb(175, 57, 84);
/* oklch */ color: oklch(52.2% 0.154 10.6);
Tailwind
colors: {
  custom: {
    50: '#cc7783',
    500: '#af3954',
    950: '#000000',
  },
}
SCSS
$custom: #af3954;
$custom-light: #cc7783;
$custom-dark: #000000;
JSON
{
  "hex": "#af3954",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 84
  },
  "hsl": {
    "h": 346.271,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52199,
    "c": 0.15364,
    "h": 10.6
  },
  "luminance": 0.1268
}

Semantic roles & 50–950 ramp

primary
#AF3954
secondary
#81C3B4
accent
#DABA4D
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#14090A
muted
#837B7C

Preview Lab

Preview with #AF3954

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

Preview Lab → · Contrast checker → · Palette generator →

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