#AF2F93#AF2F93

#AF2F93 is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.194 H 338.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AF2F93
RGBrgb(175, 47, 147)
HSLhsl(313, 58%, 44%)
HSVhsv(313, 73%, 69%)
CMYKcmyk(0%, 73.1%, 16%, 31.4%)
CIE-LABlab(43.15, 60.93, -26.55)
CIE-LCHlch(43.15, 66.46, 336.46°)
OKLaboklab(53.56% 0.1804 -0.072)
OKLCHoklch(53.56% 0.194 338.2)
XYZxyz(23.9627, 13.2558, 28.8947)
Luminance0.1325 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F93 #2FAF4B
analogous
#8B2FAF #AF2F93 #AF2F53
triadic
#AF2F93 #93AF2F #2F93AF
tetradic
#AF2F93 #AF8B2F #2FAF4B #2F53AF
square
#AF2F93 #AF8B2F #2FAF4B #2F53AF
split-complementary
#AF2F93 #53AF2F #2FAF8B
monochromatic
#4F1542 #7F226A #AF2F93 #CF4CB2 #DC7CC7

Accessibility & contrast

On white

5.75
#AF2F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AF2F93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F93
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F93#FFFFFF#000000##FFFFFF
##AF2F931.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355996
Deuteranopia (green-blind)
#5F6D90
Tritanopia (blue-blind)
#B9355D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af2f93;
/* rgb */ color: rgb(175, 47, 147);
/* oklch */ color: oklch(53.6% 0.194 338.2);
Tailwind
colors: {
  custom: {
    50: '#cb74b3',
    500: '#af2f93',
    950: '#000000',
  },
}
SCSS
$custom: #af2f93;
$custom-light: #cb74b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f93",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 313.125,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53557,
    "c": 0.1942,
    "h": 338.2
  },
  "luminance": 0.13254
}

Semantic roles & 50–950 ramp

primary
#AF2F93
secondary
#75C487
accent
#E16947
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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