#AF2648#AF2648

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

Color values

HEX#AF2648
RGBrgb(175, 38, 72)
HSLhsl(345, 64%, 42%)
HSVhsv(345, 78%, 69%)
CMYKcmyk(0%, 78.3%, 58.9%, 31.4%)
CIE-LABlab(39.53, 55.76, 14.80)
CIE-LCHlch(39.53, 57.69, 14.87°)
OKLaboklab(50.07% 0.1683 0.0367)
OKLCHoklch(50.07% 0.172 12.3)
XYZxyz(19.5440, 10.9709, 7.2181)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2648 #26AF8D
analogous
#AF268D #AF2648 #AF4826
triadic
#AF2648 #48AF26 #2648AF
tetradic
#AF2648 #8DAF26 #26AF8D #4826AF
square
#AF2648 #8DAF26 #26AF8D #4826AF
split-complementary
#AF2648 #26AF48 #268DAF
monochromatic
#4A101F #7D1B33 #AF2648 #D53D63 #E0708B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2648#FFFFFF#000000##FFFFFF
##AF26481.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)
#4C4B48
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#C00035
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2648;
/* rgb */ color: rgb(175, 38, 72);
/* oklch */ color: oklch(50.1% 0.172 12.3);
Tailwind
colors: {
  custom: {
    50: '#ce6e7a',
    500: '#af2648',
    950: '#000000',
  },
}
SCSS
$custom: #af2648;
$custom-light: #ce6e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2648",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 72
  },
  "hsl": {
    "h": 345.109,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.17229,
    "h": 12.3
  },
  "luminance": 0.10968
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2648

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

Preview Lab → · Contrast checker → · Palette generator →

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