#AF3F5A#AF3F5A

#AF3F5A is a mid, vivid red. Relative luminance 0.134; OKLCH L 53.1% C 0.147 H 9.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AF3F5A
RGBrgb(175, 63, 90)
HSLhsl(346, 47%, 47%)
HSVhsv(346, 64%, 69%)
CMYKcmyk(0%, 64%, 48.6%, 31.4%)
CIE-LABlab(43.37, 47.80, 8.84)
CIE-LCHlch(43.37, 48.61, 10.47°)
OKLaboklab(53.06% 0.1452 0.0229)
OKLCHoklch(53.06% 0.147 9)
XYZxyz(21.3038, 13.4098, 11.1374)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F5A #3FAF94
analogous
#AF3F92 #AF3F5A #AF5C3F
triadic
#AF3F5A #5AAF3F #3F5AAF
tetradic
#AF3F5A #92AF3F #3FAF94 #5C3FAF
square
#AF3F5A #92AF3F #3FAF94 #5C3FAF
split-complementary
#AF3F5A #3FAF5C #3F92AF
monochromatic
#551F2C #822F43 #AF3F5A #C7647C #D791A2

Accessibility & contrast

On white

5.70
#AF3F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#AF3F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F5A
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F5A#FFFFFF#000000##FFFFFF
##AF3F5A1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58585B
Deuteranopia (green-blind)
#756F57
Tritanopia (blue-blind)
#BE2E49
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af3f5a;
/* rgb */ color: rgb(175, 63, 90);
/* oklch */ color: oklch(53.1% 0.147 9.0);
Tailwind
colors: {
  custom: {
    50: '#cc7a88',
    500: '#af3f5a',
    950: '#000000',
  },
}
SCSS
$custom: #af3f5a;
$custom-light: #cc7a88;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f5a",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 90
  },
  "hsl": {
    "h": 345.536,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53061,
    "c": 0.147,
    "h": 9
  },
  "luminance": 0.13407
}

Semantic roles & 50–950 ramp

primary
#AF3F5A
secondary
#87C3B4
accent
#D7B651
background
#FDF7F8
surface
#FAEEEF
border
#D3C9CA
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #AF3F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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