#AF2890#AF2890

#AF2890 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.8% C 0.200 H 339.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AF2890
RGBrgb(175, 40, 144)
HSLhsl(314, 63%, 42%)
HSVhsv(314, 77%, 69%)
CMYKcmyk(0%, 77.1%, 17.7%, 31.4%)
CIE-LABlab(42.23, 62.72, -26.16)
CIE-LCHlch(42.23, 67.96, 337.36°)
OKLaboklab(52.85% 0.1867 -0.0708)
OKLCHoklch(52.85% 0.2 339.2)
XYZxyz(23.4727, 12.6475, 27.5852)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2890 #28AF47
analogous
#8B28AF #AF2890 #AF284C
triadic
#AF2890 #90AF28 #2890AF
tetradic
#AF2890 #AF8B28 #28AF47 #284CAF
square
#AF2890 #AF8B28 #28AF47 #284CAF
split-complementary
#AF2890 #4CAF28 #28AF8B
monochromatic
#4B113E #7D1D67 #AF2890 #D441B2 #DF73C6

Accessibility & contrast

On white

5.95
#AF2890 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AF2890 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2890
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2890#FFFFFF#000000##FFFFFF
##AF28901.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315693
Deuteranopia (green-blind)
#5E6B8D
Tritanopia (blue-blind)
#B92E5A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2890;
/* rgb */ color: rgb(175, 40, 144);
/* oklch */ color: oklch(52.8% 0.200 339.2);
Tailwind
colors: {
  custom: {
    50: '#cb71b1',
    500: '#af2890',
    950: '#000000',
  },
}
SCSS
$custom: #af2890;
$custom-light: #cb71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af2890",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 313.778,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52848,
    "c": 0.19966,
    "h": 339.2
  },
  "luminance": 0.12645
}

Semantic roles & 50–950 ramp

primary
#AF2890
secondary
#6DC681
accent
#E66842
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #AF2890

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

Preview Lab → · Contrast checker → · Palette generator →

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