#AF2B46#AF2B46

#AF2B46 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.4% C 0.168 H 14.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AF2B46
RGBrgb(175, 43, 70)
HSLhsl(348, 61%, 43%)
HSVhsv(348, 75%, 69%)
CMYKcmyk(0%, 75.4%, 60%, 31.4%)
CIE-LABlab(40.06, 54.02, 16.77)
CIE-LCHlch(40.06, 56.56, 17.25°)
OKLaboklab(50.45% 0.1624 0.0413)
OKLCHoklch(50.45% 0.168 14.3)
XYZxyz(19.6505, 11.2868, 6.9370)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B46 #2BAF94
analogous
#AF2B88 #AF2B46 #AF522B
triadic
#AF2B46 #46AF2B #2B46AF
tetradic
#AF2B46 #88AF2B #2BAF94 #522BAF
square
#AF2B46 #88AF2B #2BAF94 #522BAF
split-complementary
#AF2B46 #2BAF52 #2B88AF
monochromatic
#4D131F #7E1F32 #AF2B46 #D14662 #DE778C

Accessibility & contrast

On white

6.45
#AF2B46 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AF2B46 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B46
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B46#FFFFFF#000000##FFFFFF
##AF2B461.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2b46;
/* rgb */ color: rgb(175, 43, 70);
/* oklch */ color: oklch(50.4% 0.168 14.3);
Tailwind
colors: {
  custom: {
    50: '#ce7079',
    500: '#af2b46',
    950: '#000000',
  },
}
SCSS
$custom: #af2b46;
$custom-light: #ce7079;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b46",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 70
  },
  "hsl": {
    "h": 347.727,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50446,
    "c": 0.16753,
    "h": 14.3
  },
  "luminance": 0.11284
}

Semantic roles & 50–950 ramp

primary
#AF2B46
secondary
#70C5B4
accent
#E4C344
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2B46

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

Preview Lab → · Contrast checker → · Palette generator →

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