#AF2F70#AF2F70

#AF2F70 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.174 H 353.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AF2F70
RGBrgb(175, 47, 112)
HSLhsl(330, 58%, 44%)
HSVhsv(330, 73%, 69%)
CMYKcmyk(0%, 73.1%, 36%, 31.4%)
CIE-LABlab(41.72, 56.44, -7.25)
CIE-LCHlch(41.72, 56.90, 352.68°)
OKLaboklab(52.05% 0.173 -0.0185)
OKLCHoklch(52.05% 0.174 353.9)
XYZxyz(21.6217, 12.3194, 16.5654)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F70 #2FAF6E
analogous
#AE2FAF #AF2F70 #AF2F30
triadic
#AF2F70 #70AF2F #2F70AF
tetradic
#AF2F70 #AFAE2F #2FAF6E #2F30AF
square
#AF2F70 #AFAE2F #2FAF6E #2F30AF
split-complementary
#AF2F70 #30AF2F #2FAFAE
monochromatic
#4F1532 #7F2251 #AF2F70 #CF4C8F #DC7CAD

Accessibility & contrast

On white

6.06
#AF2F70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AF2F70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F70
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F70#FFFFFF#000000##FFFFFF
##AF2F701.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465372
Deuteranopia (green-blind)
#6A6B6D
Tritanopia (blue-blind)
#BD234B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2f70;
/* rgb */ color: rgb(175, 47, 112);
/* oklch */ color: oklch(52.1% 0.174 353.9);
Tailwind
colors: {
  custom: {
    50: '#cb7399',
    500: '#af2f70',
    950: '#000000',
  },
}
SCSS
$custom: #af2f70;
$custom-light: #cb7399;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f70",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 329.531,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.17397,
    "h": 353.9
  },
  "luminance": 0.12317
}

Semantic roles & 50–950 ramp

primary
#AF2F70
secondary
#75C49C
accent
#E19347
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2F70

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

Preview Lab → · Contrast checker → · Palette generator →

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