#AF2B4B#AF2B4B

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

Color values

HEX#AF2B4B
RGBrgb(175, 43, 75)
HSLhsl(345, 61%, 43%)
HSVhsv(345, 75%, 69%)
CMYKcmyk(0%, 75.4%, 57.1%, 31.4%)
CIE-LABlab(40.17, 54.37, 13.77)
CIE-LCHlch(40.17, 56.09, 14.21°)
OKLaboklab(50.56% 0.1644 0.0344)
OKLCHoklch(50.56% 0.168 11.8)
XYZxyz(19.8150, 11.3525, 7.8031)
Luminance0.1135 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B4B #2BAF8F
analogous
#AF2B8D #AF2B4B #AF4D2B
triadic
#AF2B4B #4BAF2B #2B4BAF
tetradic
#AF2B4B #8DAF2B #2BAF8F #4D2BAF
square
#AF2B4B #8DAF2B #2BAF8F #4D2BAF
split-complementary
#AF2B4B #2BAF4D #2B8DAF
monochromatic
#4D1321 #7E1F36 #AF2B4B #D14668 #DE7790

Accessibility & contrast

On white

6.42
#AF2B4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AF2B4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B4B
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B4B#FFFFFF#000000##FFFFFF
##AF2B4B1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4D4B
Deuteranopia (green-blind)
#706848
Tritanopia (blue-blind)
#BF0038
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2b4b;
/* rgb */ color: rgb(175, 43, 75);
/* oklch */ color: oklch(50.6% 0.168 11.8);
Tailwind
colors: {
  custom: {
    50: '#cd707d',
    500: '#af2b4b',
    950: '#000000',
  },
}
SCSS
$custom: #af2b4b;
$custom-light: #cd707d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b4b",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 75
  },
  "hsl": {
    "h": 345.455,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50562,
    "c": 0.16793,
    "h": 11.8
  },
  "luminance": 0.1135
}

Semantic roles & 50–950 ramp

primary
#AF2B4B
secondary
#70C5B1
accent
#E4BD44
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2B4B

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

Preview Lab → · Contrast checker → · Palette generator →

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