#AF2F4B#AF2F4B

#AF2F4B is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.164 H 12.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AF2F4B
RGBrgb(175, 47, 75)
HSLhsl(347, 58%, 44%)
HSVhsv(347, 73%, 69%)
CMYKcmyk(0%, 73.1%, 57.1%, 31.4%)
CIE-LABlab(40.67, 52.98, 14.45)
CIE-LCHlch(40.67, 54.91, 15.25°)
OKLaboklab(50.93% 0.1599 0.0361)
OKLCHoklch(50.93% 0.164 12.7)
XYZxyz(19.9676, 11.6578, 7.8540)
Luminance0.1166 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F4B #2FAF93
analogous
#AF2F8B #AF2F4B #AF532F
triadic
#AF2F4B #4BAF2F #2F4BAF
tetradic
#AF2F4B #8BAF2F #2FAF93 #532FAF
square
#AF2F4B #8BAF2F #2FAF93 #532FAF
split-complementary
#AF2F4B #2FAF53 #2F8BAF
monochromatic
#4F1522 #7F2236 #AF2F4B #CF4C69 #DC7C91

Accessibility & contrast

On white

6.30
#AF2F4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF2F4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F4B
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F4B#FFFFFF#000000##FFFFFF
##AF2F4B1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4B
Deuteranopia (green-blind)
#716948
Tritanopia (blue-blind)
#BF0B3B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2f4b;
/* rgb */ color: rgb(175, 47, 75);
/* oklch */ color: oklch(50.9% 0.164 12.7);
Tailwind
colors: {
  custom: {
    50: '#cd727d',
    500: '#af2f4b',
    950: '#000000',
  },
}
SCSS
$custom: #af2f4b;
$custom-light: #cd727d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f4b",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 75
  },
  "hsl": {
    "h": 346.875,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50932,
    "c": 0.1639,
    "h": 12.7
  },
  "luminance": 0.11655
}

Semantic roles & 50–950 ramp

primary
#AF2F4B
secondary
#75C4B3
accent
#E1BF47
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #AF2F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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