#AF2541#AF2541

#AF2541 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.173 H 15.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AF2541
RGBrgb(175, 37, 65)
HSLhsl(348, 65%, 42%)
HSVhsv(348, 79%, 69%)
CMYKcmyk(0%, 78.9%, 62.9%, 31.4%)
CIE-LABlab(39.28, 55.60, 18.89)
CIE-LCHlch(39.28, 58.72, 18.77°)
OKLaboklab(49.84% 0.1665 0.0458)
OKLCHoklch(49.84% 0.173 15.4)
XYZxyz(19.2969, 10.8217, 6.0727)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2541 #25AF93
analogous
#AF2586 #AF2541 #AF4E25
triadic
#AF2541 #41AF25 #2541AF
tetradic
#AF2541 #86AF25 #25AF93 #4E25AF
square
#AF2541 #86AF25 #25AF93 #4E25AF
split-complementary
#AF2541 #25AF4E #2586AF
monochromatic
#4A101B #7C1A2E #AF2541 #D63C5B #E06E85

Accessibility & contrast

On white

6.64
#AF2541 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AF2541 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2541
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2541#FFFFFF#000000##FFFFFF
##AF25411.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A41
Deuteranopia (green-blind)
#70673D
Tritanopia (blue-blind)
#C00031
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #af2541;
/* rgb */ color: rgb(175, 37, 65);
/* oklch */ color: oklch(49.8% 0.173 15.4);
Tailwind
colors: {
  custom: {
    50: '#ce6d75',
    500: '#af2541',
    950: '#000000',
  },
}
SCSS
$custom: #af2541;
$custom-light: #ce6d75;
$custom-dark: #000000;
JSON
{
  "hex": "#af2541",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 65
  },
  "hsl": {
    "h": 347.826,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49835,
    "c": 0.17271,
    "h": 15.4
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

primary
#AF2541
secondary
#69C7B4
accent
#E8C640
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2541

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

Preview Lab → · Contrast checker → · Palette generator →

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