#AF2E4F#AF2E4F

#AF2E4F is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.165 H 10.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AF2E4F
RGBrgb(175, 46, 79)
HSLhsl(345, 58%, 43%)
HSVhsv(345, 74%, 69%)
CMYKcmyk(0%, 73.7%, 54.9%, 31.4%)
CIE-LABlab(40.63, 53.64, 11.88)
CIE-LCHlch(40.63, 54.94, 12.49°)
OKLaboklab(50.93% 0.1626 0.0301)
OKLCHoklch(50.93% 0.165 10.5)
XYZxyz(20.0693, 11.6353, 8.5847)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E4F #2EAF8E
analogous
#AF2E8F #AF2E4F #AF4D2E
triadic
#AF2E4F #4FAF2E #2E4FAF
tetradic
#AF2E4F #8FAF2E #2EAF8E #4D2EAF
square
#AF2E4F #8FAF2E #2EAF8E #4D2EAF
split-complementary
#AF2E4F #2EAF4D #2E8FAF
monochromatic
#4E1523 #7F2139 #AF2E4F #D04B6D #DC7B94

Accessibility & contrast

On white

6.31
#AF2E4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2E4F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E4F#FFFFFF#000000##FFFFFF
##AF2E4F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F50
Deuteranopia (green-blind)
#70694C
Tritanopia (blue-blind)
#BF0B3C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2e4f;
/* rgb */ color: rgb(175, 46, 79);
/* oklch */ color: oklch(50.9% 0.165 10.5);
Tailwind
colors: {
  custom: {
    50: '#cd7180',
    500: '#af2e4f',
    950: '#000000',
  },
}
SCSS
$custom: #af2e4f;
$custom-light: #cd7180;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e4f",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 344.651,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50934,
    "c": 0.16536,
    "h": 10.5
  },
  "luminance": 0.11632
}

Semantic roles & 50–950 ramp

primary
#AF2E4F
secondary
#74C5B0
accent
#E2BA46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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