#AF2848#AF2848

#AF2848 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.2% C 0.170 H 12.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AF2848
RGBrgb(175, 40, 72)
HSLhsl(346, 63%, 42%)
HSVhsv(346, 77%, 69%)
CMYKcmyk(0%, 77.1%, 58.9%, 31.4%)
CIE-LABlab(39.75, 55.14, 15.10)
CIE-LCHlch(39.75, 57.17, 15.31°)
OKLaboklab(50.23% 0.1663 0.0374)
OKLCHoklch(50.23% 0.17 12.7)
XYZxyz(19.6096, 11.1023, 7.2400)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2848 #28AF8F
analogous
#AF288C #AF2848 #AF4C28
triadic
#AF2848 #48AF28 #2848AF
tetradic
#AF2848 #8CAF28 #28AF8F #4C28AF
square
#AF2848 #8CAF28 #28AF8F #4C28AF
split-complementary
#AF2848 #28AF4C #288CAF
monochromatic
#4B111F #7D1D34 #AF2848 #D44163 #DF738C

Accessibility & contrast

On white

6.52
#AF2848 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2848 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2848
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2848#FFFFFF#000000##FFFFFF
##AF28481.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2848;
/* rgb */ color: rgb(175, 40, 72);
/* oklch */ color: oklch(50.2% 0.170 12.7);
Tailwind
colors: {
  custom: {
    50: '#ce6f7a',
    500: '#af2848',
    950: '#000000',
  },
}
SCSS
$custom: #af2848;
$custom-light: #ce6f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2848",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 72
  },
  "hsl": {
    "h": 345.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50233,
    "c": 0.17049,
    "h": 12.7
  },
  "luminance": 0.11099
}

Semantic roles & 50–950 ramp

primary
#AF2848
secondary
#6DC6B1
accent
#E6BF42
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2848

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

Preview Lab → · Contrast checker → · Palette generator →

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