#AF2E43#AF2E43

#AF2E43 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.7% C 0.165 H 16.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AF2E43
RGBrgb(175, 46, 67)
HSLhsl(350, 58%, 43%)
HSVhsv(350, 74%, 69%)
CMYKcmyk(0%, 73.7%, 61.7%, 31.4%)
CIE-LABlab(40.37, 52.78, 19.07)
CIE-LCHlch(40.37, 56.12, 19.87°)
OKLaboklab(50.66% 0.1578 0.0464)
OKLCHoklch(50.66% 0.165 16.4)
XYZxyz(19.6713, 11.4761, 6.4884)
Luminance0.1147 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E43 #2EAF9A
analogous
#AF2E83 #AF2E43 #AF5A2E
triadic
#AF2E43 #43AF2E #2E43AF
tetradic
#AF2E43 #83AF2E #2EAF9A #5A2EAF
square
#AF2E43 #83AF2E #2EAF9A #5A2EAF
split-complementary
#AF2E43 #2EAF5A #2E83AF
monochromatic
#4E151E #7F2130 #AF2E43 #D04B60 #DC7B8B

Accessibility & contrast

On white

6.37
#AF2E43 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2E43
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E43#FFFFFF#000000##FFFFFF
##AF2E431.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514E43
Deuteranopia (green-blind)
#726940
Tritanopia (blue-blind)
#C00037
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2e43;
/* rgb */ color: rgb(175, 46, 67);
/* oklch */ color: oklch(50.7% 0.165 16.4);
Tailwind
colors: {
  custom: {
    50: '#ce7176',
    500: '#af2e43',
    950: '#000000',
  },
}
SCSS
$custom: #af2e43;
$custom-light: #ce7176;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e43",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 67
  },
  "hsl": {
    "h": 350.233,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50658,
    "c": 0.16452,
    "h": 16.4
  },
  "luminance": 0.11473
}

Semantic roles & 50–950 ramp

primary
#AF2E43
secondary
#74C5B8
accent
#E2C846
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B

Preview Lab

Preview with #AF2E43

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

Preview Lab → · Contrast checker → · Palette generator →

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