#AF2948#AF2948

#AF2948 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.3% C 0.170 H 12.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#AF2948
RGBrgb(175, 41, 72)
HSLhsl(346, 62%, 42%)
HSVhsv(346, 77%, 69%)
CMYKcmyk(0%, 76.6%, 58.9%, 31.4%)
CIE-LABlab(39.87, 54.82, 15.25)
CIE-LCHlch(39.87, 56.90, 15.55°)
OKLaboklab(50.32% 0.1653 0.0378)
OKLCHoklch(50.32% 0.17 12.9)
XYZxyz(19.6438, 11.1706, 7.2514)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2948 #29AF90
analogous
#AF298B #AF2948 #AF4D29
triadic
#AF2948 #48AF29 #2948AF
tetradic
#AF2948 #8BAF29 #29AF90 #4D29AF
square
#AF2948 #8BAF29 #29AF90 #4D29AF
split-complementary
#AF2948 #29AF4D #298BAF
monochromatic
#4C121F #7D1D34 #AF2948 #D34264 #DE748D

Accessibility & contrast

On white

6.49
#AF2948 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AF2948 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2948
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2948#FFFFFF#000000##FFFFFF
##AF29481.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4C48
Deuteranopia (green-blind)
#706845
Tritanopia (blue-blind)
#C00036
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2948;
/* rgb */ color: rgb(175, 41, 72);
/* oklch */ color: oklch(50.3% 0.170 12.9);
Tailwind
colors: {
  custom: {
    50: '#ce6f7a',
    500: '#af2948',
    950: '#000000',
  },
}
SCSS
$custom: #af2948;
$custom-light: #ce6f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2948",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 72
  },
  "hsl": {
    "h": 346.119,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50317,
    "c": 0.16956,
    "h": 12.9
  },
  "luminance": 0.11168
}

Semantic roles & 50–950 ramp

primary
#AF2948
secondary
#6EC6B1
accent
#E5C043
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2948

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

Preview Lab → · Contrast checker → · Palette generator →

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