#AF2B5D#AF2B5D

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

Color values

HEX#AF2B5D
RGBrgb(175, 43, 93)
HSLhsl(337, 61%, 43%)
HSVhsv(337, 75%, 69%)
CMYKcmyk(0%, 75.4%, 46.9%, 31.4%)
CIE-LABlab(40.63, 55.86, 3.05)
CIE-LCHlch(40.63, 55.94, 3.12°)
OKLaboklab(51.05% 0.1712 0.0084)
OKLCHoklch(51.05% 0.171 2.8)
XYZxyz(20.5205, 11.6348, 11.5190)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B5D #2BAF7D
analogous
#AF2B9F #AF2B5D #AF3B2B
triadic
#AF2B5D #5DAF2B #2B5DAF
tetradic
#AF2B5D #9FAF2B #2BAF7D #3B2BAF
square
#AF2B5D #9FAF2B #2BAF7D #3B2BAF
split-complementary
#AF2B5D #2BAF3B #2B9FAF
monochromatic
#4D1329 #7E1F43 #AF2B5D #D1467B #DE779E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2B5D#FFFFFF#000000##FFFFFF
##AF2B5D1.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)
#4A4F5E
Deuteranopia (green-blind)
#6D695A
Tritanopia (blue-blind)
#BE1040
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2b5d;
/* rgb */ color: rgb(175, 43, 93);
/* oklch */ color: oklch(51.1% 0.171 2.8);
Tailwind
colors: {
  custom: {
    50: '#cc708a',
    500: '#af2b5d',
    950: '#000000',
  },
}
SCSS
$custom: #af2b5d;
$custom-light: #cc708a;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b5d",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 93
  },
  "hsl": {
    "h": 337.273,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51053,
    "c": 0.17138,
    "h": 2.8
  },
  "luminance": 0.11632
}

Semantic roles & 50–950 ramp

primary
#AF2B5D
secondary
#70C5A5
accent
#E4A744
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AF2B5D

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

Preview Lab → · Contrast checker → · Palette generator →

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