#AF2F6B#AF2F6B

#AF2F6B is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.172 H 356.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AF2F6B
RGBrgb(175, 47, 107)
HSLhsl(332, 58%, 44%)
HSVhsv(332, 73%, 69%)
CMYKcmyk(0%, 73.1%, 38.9%, 31.4%)
CIE-LABlab(41.55, 55.89, -4.39)
CIE-LCHlch(41.55, 56.06, 355.51°)
OKLaboklab(51.87% 0.1715 -0.0108)
OKLCHoklch(51.87% 0.172 356.4)
XYZxyz(21.3510, 12.2111, 15.1397)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F6B #2FAF73
analogous
#AF2FAB #AF2F6B #AF332F
triadic
#AF2F6B #6BAF2F #2F6BAF
tetradic
#AF2F6B #ABAF2F #2FAF73 #332FAF
square
#AF2F6B #ABAF2F #2FAF73 #332FAF
split-complementary
#AF2F6B #2FAF33 #2FABAF
monochromatic
#4F1530 #7F224E #AF2F6B #CF4C8A #DC7CA9

Accessibility & contrast

On white

6.10
#AF2F6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AF2F6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F6B
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F6B#FFFFFF#000000##FFFFFF
##AF2F6B1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536D
Deuteranopia (green-blind)
#6B6B68
Tritanopia (blue-blind)
#BD2049
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2f6b;
/* rgb */ color: rgb(175, 47, 107);
/* oklch */ color: oklch(51.9% 0.172 356.4);
Tailwind
colors: {
  custom: {
    50: '#cc7395',
    500: '#af2f6b',
    950: '#000000',
  },
}
SCSS
$custom: #af2f6b;
$custom-light: #cc7395;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f6b",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 107
  },
  "hsl": {
    "h": 331.875,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51871,
    "c": 0.17182,
    "h": 356.4
  },
  "luminance": 0.12209
}

Semantic roles & 50–950 ramp

primary
#AF2F6B
secondary
#75C49F
accent
#E19947
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2F6B

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

Preview Lab → · Contrast checker → · Palette generator →

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