#AF2B5F#AF2B5F

#AF2B5F is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.172 H 1.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AF2B5F
RGBrgb(175, 43, 95)
HSLhsl(336, 61%, 43%)
HSVhsv(336, 75%, 69%)
CMYKcmyk(0%, 75.4%, 45.7%, 31.4%)
CIE-LABlab(40.69, 56.05, 1.87)
CIE-LCHlch(40.69, 56.08, 1.91°)
OKLaboklab(51.12% 0.1719 0.0054)
OKLCHoklch(51.12% 0.172 1.8)
XYZxyz(20.6103, 11.6707, 11.9916)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B5F #2BAF7B
analogous
#AF2BA1 #AF2B5F #AF392B
triadic
#AF2B5F #5FAF2B #2B5FAF
tetradic
#AF2B5F #A1AF2B #2BAF7B #392BAF
square
#AF2B5F #A1AF2B #2BAF7B #392BAF
split-complementary
#AF2B5F #2BAF39 #2BA1AF
monochromatic
#4D132A #7E1F44 #AF2B5F #D1467D #DE779F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2B5F#FFFFFF#000000##FFFFFF
##AF2B5F1.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)
#495060
Deuteranopia (green-blind)
#6D695C
Tritanopia (blue-blind)
#BE1141
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2b5f;
/* rgb */ color: rgb(175, 43, 95);
/* oklch */ color: oklch(51.1% 0.172 1.8);
Tailwind
colors: {
  custom: {
    50: '#cc708c',
    500: '#af2b5f',
    950: '#000000',
  },
}
SCSS
$custom: #af2b5f;
$custom-light: #cc708c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b5f",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 95
  },
  "hsl": {
    "h": 336.364,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51115,
    "c": 0.17196,
    "h": 1.8
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#AF2B5F
secondary
#70C5A4
accent
#E4A544
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2B5F

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

Preview Lab → · Contrast checker → · Palette generator →

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