#AF2090#AF2090

#AF2090 is a mid, highly saturated pink. Relative luminance 0.122; OKLCH L 52.3% C 0.207 H 339.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AF2090
RGBrgb(175, 32, 144)
HSLhsl(313, 69%, 41%)
HSVhsv(313, 82%, 69%)
CMYKcmyk(0%, 81.7%, 17.7%, 31.4%)
CIE-LABlab(41.47, 64.88, -27.34)
CIE-LCHlch(41.47, 70.41, 337.15°)
OKLaboklab(52.31% 0.1932 -0.0741)
OKLCHoklch(52.31% 0.207 339)
XYZxyz(23.2304, 12.1630, 27.5044)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2090 #20AF3F
analogous
#8620AF #AF2090 #AF2048
triadic
#AF2090 #90AF20 #2090AF
tetradic
#AF2090 #AF8620 #20AF3F #2048AF
square
#AF2090 #AF8620 #20AF3F #2048AF
split-complementary
#AF2090 #48AF20 #20AF86
monochromatic
#480D3B #7B1765 #AF2090 #DA33B5 #E366C8

Accessibility & contrast

On white

6.12
#AF2090 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF2090 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2090
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2090#FFFFFF#000000##FFFFFF
##AF20901.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5493
Deuteranopia (green-blind)
#5C6A8D
Tritanopia (blue-blind)
#B92858
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2090;
/* rgb */ color: rgb(175, 32, 144);
/* oklch */ color: oklch(52.3% 0.207 339.0);
Tailwind
colors: {
  custom: {
    50: '#cb6eb1',
    500: '#af2090',
    950: '#000000',
  },
}
SCSS
$custom: #af2090;
$custom-light: #cb6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#af2090",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 313.007,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52305,
    "c": 0.20696,
    "h": 339
  },
  "luminance": 0.12161
}

Semantic roles & 50–950 ramp

primary
#AF2090
secondary
#62C878
accent
#EC623C
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF2090

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

Preview Lab → · Contrast checker → · Palette generator →

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