#AF364F#AF364F

#AF364F is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.7% C 0.157 H 12.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AF364F
RGBrgb(175, 54, 79)
HSLhsl(348, 53%, 45%)
HSVhsv(348, 69%, 69%)
CMYKcmyk(0%, 69.1%, 54.9%, 31.4%)
CIE-LABlab(41.72, 50.63, 13.38)
CIE-LCHlch(41.72, 52.37, 14.80°)
OKLaboklab(51.74% 0.153 0.0337)
OKLCHoklch(51.74% 0.157 12.4)
XYZxyz(20.4115, 12.3196, 8.6987)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF364F #36AF96
analogous
#AF368C #AF364F #AF5936
triadic
#AF364F #4FAF36 #364FAF
tetradic
#AF364F #8CAF36 #36AF96 #5936AF
square
#AF364F #8CAF36 #36AF96 #5936AF
split-complementary
#AF364F #36AF59 #368CAF
monochromatic
#511925 #80283A #AF364F #CB576F #DA8697

Accessibility & contrast

On white

6.06
#AF364F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AF364F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF364F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF364F#FFFFFF#000000##FFFFFF
##AF364F1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54534F
Deuteranopia (green-blind)
#736C4C
Tritanopia (blue-blind)
#BF1D40
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af364f;
/* rgb */ color: rgb(175, 54, 79);
/* oklch */ color: oklch(51.7% 0.157 12.4);
Tailwind
colors: {
  custom: {
    50: '#cd7580',
    500: '#af364f',
    950: '#000000',
  },
}
SCSS
$custom: #af364f;
$custom-light: #cd7580;
$custom-dark: #000000;
JSON
{
  "hex": "#af364f",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 79
  },
  "hsl": {
    "h": 347.603,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51743,
    "c": 0.15662,
    "h": 12.4
  },
  "luminance": 0.12317
}

Semantic roles & 50–950 ramp

primary
#AF364F
secondary
#7DC3B5
accent
#DCBE4C
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF364F

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

Preview Lab → · Contrast checker → · Palette generator →

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