#AF394E#AF394E

#AF394E is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.1% C 0.153 H 13.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AF394E
RGBrgb(175, 57, 78)
HSLhsl(349, 51%, 45%)
HSVhsv(349, 67%, 69%)
CMYKcmyk(0%, 67.4%, 55.4%, 31.4%)
CIE-LABlab(42.14, 49.33, 14.58)
CIE-LCHlch(42.14, 51.44, 16.47°)
OKLaboklab(52.05% 0.1487 0.0365)
OKLCHoklch(52.05% 0.153 13.8)
XYZxyz(20.5193, 12.5930, 8.5564)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF394E #39AF9A
analogous
#AF3989 #AF394E #AF5F39
triadic
#AF394E #4EAF39 #394EAF
tetradic
#AF394E #89AF39 #39AF9A #5F39AF
square
#AF394E #89AF39 #39AF9A #5F39AF
split-complementary
#AF394E #39AF5F #3989AF
monochromatic
#531B25 #812A39 #AF394E #CA5B6F #D98A98

Accessibility & contrast

On white

5.97
#AF394E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AF394E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF394E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF394E#FFFFFF#000000##FFFFFF
##AF394E1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56544E
Deuteranopia (green-blind)
#746C4B
Tritanopia (blue-blind)
#BF2241
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af394e;
/* rgb */ color: rgb(175, 57, 78);
/* oklch */ color: oklch(52.1% 0.153 13.8);
Tailwind
colors: {
  custom: {
    50: '#cd777f',
    500: '#af394e',
    950: '#000000',
  },
}
SCSS
$custom: #af394e;
$custom-light: #cd777f;
$custom-dark: #000000;
JSON
{
  "hex": "#af394e",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 78
  },
  "hsl": {
    "h": 349.322,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.15308,
    "h": 13.8
  },
  "luminance": 0.1259
}

Semantic roles & 50–950 ramp

primary
#AF394E
secondary
#81C3B7
accent
#DAC14D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF394E

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

Preview Lab → · Contrast checker → · Palette generator →

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