#AF314E#AF314E

#AF314E is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.2% C 0.162 H 11.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AF314E
RGBrgb(175, 49, 78)
HSLhsl(346, 56%, 44%)
HSVhsv(346, 72%, 69%)
CMYKcmyk(0%, 72%, 55.4%, 31.4%)
CIE-LABlab(41.00, 52.48, 13.01)
CIE-LCHlch(41.00, 54.07, 13.93°)
OKLaboklab(51.2% 0.1587 0.0328)
OKLCHoklch(51.2% 0.162 11.7)
XYZxyz(20.1545, 11.8634, 8.4348)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF314E #31AF92
analogous
#AF318D #AF314E #AF5331
triadic
#AF314E #4EAF31 #314EAF
tetradic
#AF314E #8DAF31 #31AF92 #5331AF
square
#AF314E #8DAF31 #31AF92 #5331AF
split-complementary
#AF314E #31AF53 #318DAF
monochromatic
#4F1623 #7F2439 #AF314E #CE4F6C #DB7F94

Accessibility & contrast

On white

6.23
#AF314E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF314E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF314E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF314E#FFFFFF#000000##FFFFFF
##AF314E1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51504E
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#BF123D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af314e;
/* rgb */ color: rgb(175, 49, 78);
/* oklch */ color: oklch(51.2% 0.162 11.7);
Tailwind
colors: {
  custom: {
    50: '#cd737f',
    500: '#af314e',
    950: '#000000',
  },
}
SCSS
$custom: #af314e;
$custom-light: #cd737f;
$custom-dark: #000000;
JSON
{
  "hex": "#af314e",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 78
  },
  "hsl": {
    "h": 346.19,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.16207,
    "h": 11.7
  },
  "luminance": 0.11861
}

Semantic roles & 50–950 ramp

primary
#AF314E
secondary
#78C4B3
accent
#E0BD48
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF314E

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

Preview Lab → · Contrast checker → · Palette generator →

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