#AF2993#AF2993

#AF2993 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.1% C 0.201 H 338.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AF2993
RGBrgb(175, 41, 147)
HSLhsl(313, 62%, 42%)
HSVhsv(313, 77%, 69%)
CMYKcmyk(0%, 76.6%, 16%, 31.4%)
CIE-LABlab(42.47, 62.84, -27.60)
CIE-LCHlch(42.47, 68.63, 336.29°)
OKLaboklab(53.07% 0.1861 -0.0749)
OKLCHoklch(53.07% 0.201 338.1)
XYZxyz(23.7391, 12.8087, 28.8202)
Luminance0.1281 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2993 #29AF45
analogous
#8829AF #AF2993 #AF2950
triadic
#AF2993 #93AF29 #2993AF
tetradic
#AF2993 #AF8829 #29AF45 #2950AF
square
#AF2993 #AF8829 #29AF45 #2950AF
split-complementary
#AF2993 #50AF29 #29AF88
monochromatic
#4C1240 #7D1D69 #AF2993 #D342B5 #DE74C8

Accessibility & contrast

On white

5.90
#AF2993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AF2993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2993
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2993#FFFFFF#000000##FFFFFF
##AF29931.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5796
Deuteranopia (green-blind)
#5D6C90
Tritanopia (blue-blind)
#B9305C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2993;
/* rgb */ color: rgb(175, 41, 147);
/* oklch */ color: oklch(53.1% 0.201 338.1);
Tailwind
colors: {
  custom: {
    50: '#cb71b3',
    500: '#af2993',
    950: '#000000',
  },
}
SCSS
$custom: #af2993;
$custom-light: #cb71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af2993",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 312.537,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53071,
    "c": 0.20064,
    "h": 338.1
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

primary
#AF2993
secondary
#6EC680
accent
#E56543
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF2993

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

Preview Lab → · Contrast checker → · Palette generator →

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