#AF2647#AF2647

#AF2647 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.172 H 12.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AF2647
RGBrgb(175, 38, 71)
HSLhsl(346, 64%, 42%)
HSVhsv(346, 78%, 69%)
CMYKcmyk(0%, 78.3%, 59.4%, 31.4%)
CIE-LABlab(39.51, 55.69, 15.40)
CIE-LCHlch(39.51, 57.78, 15.46°)
OKLaboklab(50.05% 0.1679 0.0381)
OKLCHoklch(50.05% 0.172 12.8)
XYZxyz(19.5116, 10.9580, 7.0477)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2647 #26AF8E
analogous
#AF268C #AF2647 #AF4926
triadic
#AF2647 #47AF26 #2647AF
tetradic
#AF2647 #8CAF26 #26AF8E #4926AF
square
#AF2647 #8CAF26 #26AF8E #4926AF
split-complementary
#AF2647 #26AF49 #268CAF
monochromatic
#4A101E #7D1B33 #AF2647 #D53D62 #E0708B

Accessibility & contrast

On white

6.58
#AF2647 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AF2647 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2647
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2647#FFFFFF#000000##FFFFFF
##AF26471.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4B47
Deuteranopia (green-blind)
#6F6743
Tritanopia (blue-blind)
#C00034
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2647;
/* rgb */ color: rgb(175, 38, 71);
/* oklch */ color: oklch(50.0% 0.172 12.8);
Tailwind
colors: {
  custom: {
    50: '#ce6e79',
    500: '#af2647',
    950: '#000000',
  },
}
SCSS
$custom: #af2647;
$custom-light: #ce6e79;
$custom-dark: #000000;
JSON
{
  "hex": "#af2647",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 71
  },
  "hsl": {
    "h": 345.547,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50046,
    "c": 0.1722,
    "h": 12.8
  },
  "luminance": 0.10955
}

Semantic roles & 50–950 ramp

primary
#AF2647
secondary
#6AC7B0
accent
#E7BF40
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2647

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

Preview Lab → · Contrast checker → · Palette generator →

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