#AF2D90#AF2D90

#AF2D90 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.194 H 339.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AF2D90
RGBrgb(175, 45, 144)
HSLhsl(314, 59%, 43%)
HSVhsv(314, 74%, 69%)
CMYKcmyk(0%, 74.3%, 17.7%, 31.4%)
CIE-LABlab(42.77, 61.16, -25.31)
CIE-LCHlch(42.77, 66.19, 337.52°)
OKLaboklab(53.24% 0.182 -0.0684)
OKLCHoklch(53.24% 0.194 339.4)
XYZxyz(23.6522, 13.0067, 27.6450)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D90 #2DAF4C
analogous
#8D2DAF #AF2D90 #AF2D4F
triadic
#AF2D90 #90AF2D #2D90AF
tetradic
#AF2D90 #AF8D2D #2DAF4C #2D4FAF
square
#AF2D90 #AF8D2D #2DAF4C #2D4FAF
split-complementary
#AF2D90 #4FAF2D #2DAF8D
monochromatic
#4E1440 #7E2068 #AF2D90 #D049B0 #DD7AC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2D90#FFFFFF#000000##FFFFFF
##AF2D901.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)
#355893
Deuteranopia (green-blind)
#606C8D
Tritanopia (blue-blind)
#B9325B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af2d90;
/* rgb */ color: rgb(175, 45, 144);
/* oklch */ color: oklch(53.2% 0.194 339.4);
Tailwind
colors: {
  custom: {
    50: '#cb73b0',
    500: '#af2d90',
    950: '#000000',
  },
}
SCSS
$custom: #af2d90;
$custom-light: #cb73b0;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d90",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 314.308,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.53242,
    "c": 0.19442,
    "h": 339.4
  },
  "luminance": 0.13004
}

Semantic roles & 50–950 ramp

primary
#AF2D90
secondary
#73C586
accent
#E26B46
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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