#AF334E#AF334E

#AF334E is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.4% C 0.160 H 12.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF334E
RGBrgb(175, 51, 78)
HSLhsl(347, 55%, 44%)
HSVhsv(347, 71%, 69%)
CMYKcmyk(0%, 70.9%, 55.4%, 31.4%)
CIE-LABlab(41.27, 51.72, 13.39)
CIE-LCHlch(41.27, 53.43, 14.51°)
OKLaboklab(51.4% 0.1563 0.0337)
OKLCHoklch(51.4% 0.16 12.1)
XYZxyz(20.2400, 12.0344, 8.4633)
Luminance0.1203 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF334E #33AF94
analogous
#AF338C #AF334E #AF5633
triadic
#AF334E #4EAF33 #334EAF
tetradic
#AF334E #8CAF33 #33AF94 #5633AF
square
#AF334E #8CAF33 #33AF94 #5633AF
split-complementary
#AF334E #33AF56 #338CAF
monochromatic
#501724 #802539 #AF334E #CD526D #DB8295

Accessibility & contrast

On white

6.16
#AF334E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF334E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF334E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF334E#FFFFFF#000000##FFFFFF
##AF334E1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52514E
Deuteranopia (green-blind)
#726B4B
Tritanopia (blue-blind)
#BF173E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af334e;
/* rgb */ color: rgb(175, 51, 78);
/* oklch */ color: oklch(51.4% 0.160 12.1);
Tailwind
colors: {
  custom: {
    50: '#cd747f',
    500: '#af334e',
    950: '#000000',
  },
}
SCSS
$custom: #af334e;
$custom-light: #cd747f;
$custom-dark: #000000;
JSON
{
  "hex": "#af334e",
  "rgb": {
    "r": 175,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 346.935,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51402,
    "c": 0.15989,
    "h": 12.1
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#AF334E
secondary
#7AC4B4
accent
#DEBE4A
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF334E

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

Preview Lab → · Contrast checker → · Palette generator →

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