#AF2645#AF2645

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

Color values

HEX#AF2645
RGBrgb(175, 38, 69)
HSLhsl(346, 64%, 42%)
HSVhsv(346, 78%, 69%)
CMYKcmyk(0%, 78.3%, 60.6%, 31.4%)
CIE-LABlab(39.47, 55.55, 16.61)
CIE-LCHlch(39.47, 57.99, 16.65°)
OKLaboklab(50% 0.1671 0.0408)
OKLCHoklch(50% 0.172 13.7)
XYZxyz(19.4485, 10.9327, 6.7152)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2645 #26AF90
analogous
#AF268A #AF2645 #AF4B26
triadic
#AF2645 #45AF26 #2645AF
tetradic
#AF2645 #8AAF26 #26AF90 #4B26AF
square
#AF2645 #8AAF26 #26AF90 #4B26AF
split-complementary
#AF2645 #26AF4B #268AAF
monochromatic
#4A101D #7D1B31 #AF2645 #D53D60 #E07089

Accessibility & contrast

On white

6.59
#AF2645 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2645
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2645#FFFFFF#000000##FFFFFF
##AF26451.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4B45
Deuteranopia (green-blind)
#706741
Tritanopia (blue-blind)
#C00033
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2645;
/* rgb */ color: rgb(175, 38, 69);
/* oklch */ color: oklch(50.0% 0.172 13.7);
Tailwind
colors: {
  custom: {
    50: '#ce6e78',
    500: '#af2645',
    950: '#000000',
  },
}
SCSS
$custom: #af2645;
$custom-light: #ce6e78;
$custom-dark: #000000;
JSON
{
  "hex": "#af2645",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 69
  },
  "hsl": {
    "h": 346.423,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.17205,
    "h": 13.7
  },
  "luminance": 0.1093
}

Semantic roles & 50–950 ramp

primary
#AF2645
secondary
#6AC7B2
accent
#E7C240
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2645

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

Preview Lab → · Contrast checker → · Palette generator →

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