#AF3451#AF3451

#AF3451 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.6% C 0.159 H 10.8°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AF3451
RGBrgb(175, 52, 81)
HSLhsl(346, 54%, 45%)
HSVhsv(346, 70%, 69%)
CMYKcmyk(0%, 70.3%, 53.7%, 31.4%)
CIE-LABlab(41.48, 51.58, 11.80)
CIE-LCHlch(41.48, 52.91, 12.88°)
OKLaboklab(51.58% 0.1563 0.0299)
OKLCHoklch(51.58% 0.159 10.8)
XYZxyz(20.3942, 12.1668, 9.0575)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3451 #34AF92
analogous
#AF348E #AF3451 #AF5534
triadic
#AF3451 #51AF34 #3451AF
tetradic
#AF3451 #8EAF34 #34AF92 #5534AF
square
#AF3451 #8EAF34 #34AF92 #5534AF
split-complementary
#AF3451 #34AF55 #348EAF
monochromatic
#511825 #80263B #AF3451 #CC5470 #DA8398

Accessibility & contrast

On white

6.12
#AF3451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF3451 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3451
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3451#FFFFFF#000000##FFFFFF
##AF34511.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525251
Deuteranopia (green-blind)
#726B4E
Tritanopia (blue-blind)
#BF1A40
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3451;
/* rgb */ color: rgb(175, 52, 81);
/* oklch */ color: oklch(51.6% 0.159 10.8);
Tailwind
colors: {
  custom: {
    50: '#cd7481',
    500: '#af3451',
    950: '#000000',
  },
}
SCSS
$custom: #af3451;
$custom-light: #cd7481;
$custom-dark: #000000;
JSON
{
  "hex": "#af3451",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 81
  },
  "hsl": {
    "h": 345.854,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5158,
    "c": 0.1591,
    "h": 10.8
  },
  "luminance": 0.12164
}

Semantic roles & 50–950 ramp

primary
#AF3451
secondary
#7BC4B3
accent
#DEBB4A
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF3451

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

Preview Lab → · Contrast checker → · Palette generator →

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