#AF2D46#AF2D46

#AF2D46 is a mid, vivid red. Relative luminance 0.114; OKLCH L 50.6% C 0.166 H 14.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF2D46
RGBrgb(175, 45, 70)
HSLhsl(348, 59%, 43%)
HSVhsv(348, 74%, 69%)
CMYKcmyk(0%, 74.3%, 60%, 31.4%)
CIE-LABlab(40.30, 53.33, 17.10)
CIE-LCHlch(40.30, 56.01, 17.78°)
OKLaboklab(50.63% 0.1602 0.042)
OKLCHoklch(50.63% 0.166 14.7)
XYZxyz(19.7250, 11.4358, 6.9618)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D46 #2DAF96
analogous
#AF2D87 #AF2D46 #AF552D
triadic
#AF2D46 #46AF2D #2D46AF
tetradic
#AF2D46 #87AF2D #2DAF96 #552DAF
square
#AF2D46 #87AF2D #2DAF96 #552DAF
split-complementary
#AF2D46 #2DAF55 #2D87AF
monochromatic
#4E141F #7E2033 #AF2D46 #D04963 #DD7A8D

Accessibility & contrast

On white

6.39
#AF2D46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF2D46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D46
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D46#FFFFFF#000000##FFFFFF
##AF2D461.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504E46
Deuteranopia (green-blind)
#716943
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2d46;
/* rgb */ color: rgb(175, 45, 70);
/* oklch */ color: oklch(50.6% 0.166 14.7);
Tailwind
colors: {
  custom: {
    50: '#ce7179',
    500: '#af2d46',
    950: '#000000',
  },
}
SCSS
$custom: #af2d46;
$custom-light: #ce7179;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d46",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 70
  },
  "hsl": {
    "h": 348.462,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50628,
    "c": 0.1656,
    "h": 14.7
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#AF2D46
secondary
#73C5B5
accent
#E2C446
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2D46

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

Preview Lab → · Contrast checker → · Palette generator →

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