#AF2999#AF2999

#AF2999 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.205 H 335.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AF2999
RGBrgb(175, 41, 153)
HSLhsl(310, 62%, 42%)
HSVhsv(310, 77%, 69%)
CMYKcmyk(0%, 76.6%, 12.6%, 31.4%)
CIE-LABlab(42.77, 63.70, -30.77)
CIE-LCHlch(42.77, 70.74, 334.22°)
OKLaboklab(53.38% 0.1867 -0.084)
OKLCHoklch(53.38% 0.205 335.8)
XYZxyz(24.2223, 13.0020, 31.3648)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2999 #29AF3F
analogous
#8229AF #AF2999 #AF2956
triadic
#AF2999 #99AF29 #2999AF
tetradic
#AF2999 #AF8229 #29AF3F #2956AF
square
#AF2999 #AF8229 #29AF3F #2956AF
split-complementary
#AF2999 #56AF29 #29AF82
monochromatic
#4C1242 #7D1D6E #AF2999 #D342BB #DE74CD

Accessibility & contrast

On white

5.83
#AF2999 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AF2999 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2999
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2999#FFFFFF#000000##FFFFFF
##AF29991.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589C
Deuteranopia (green-blind)
#5B6C96
Tritanopia (blue-blind)
#B8345F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af2999;
/* rgb */ color: rgb(175, 41, 153);
/* oklch */ color: oklch(53.4% 0.205 335.8);
Tailwind
colors: {
  custom: {
    50: '#cb72b7',
    500: '#af2999',
    950: '#000000',
  },
}
SCSS
$custom: #af2999;
$custom-light: #cb72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2999",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 309.851,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53377,
    "c": 0.2047,
    "h": 335.8
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#AF2999
secondary
#6EC67C
accent
#E55D43
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF2999

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

Preview Lab → · Contrast checker → · Palette generator →

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