#AF4290#AF4290

#AF4290 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.4% C 0.167 H 340.5°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF4290
RGBrgb(175, 66, 144)
HSLhsl(317, 45%, 47%)
HSVhsv(317, 62%, 69%)
CMYKcmyk(0%, 62.3%, 17.7%, 31.4%)
CIE-LABlab(45.67, 53.09, -20.83)
CIE-LCHlch(45.67, 57.03, 338.58°)
OKLaboklab(55.35% 0.1576 -0.056)
OKLCHoklch(55.35% 0.167 340.5)
XYZxyz(24.6620, 15.0262, 27.9816)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4290 #42AF61
analogous
#9742AF #AF4290 #AF425A
triadic
#AF4290 #90AF42 #4290AF
tetradic
#AF4290 #AF9742 #42AF61 #425AAF
square
#AF4290 #AF9742 #42AF61 #425AAF
split-complementary
#AF4290 #5AAF42 #42AF97
monochromatic
#562047 #83316B #AF4290 #C668AB #D795C4

Accessibility & contrast

On white

5.24
#AF4290 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AF4290 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4290
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4290#FFFFFF#000000##FFFFFF
##AF42901.005.244.005.24
#FFFFFF5.241.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486192
Deuteranopia (green-blind)
#69738D
Tritanopia (blue-blind)
#B94463
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4290;
/* rgb */ color: rgb(175, 66, 144);
/* oklch */ color: oklch(55.4% 0.167 340.5);
Tailwind
colors: {
  custom: {
    50: '#ca7db0',
    500: '#af4290',
    950: '#000000',
  },
}
SCSS
$custom: #af4290;
$custom-light: #ca7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#af4290",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 144
  },
  "hsl": {
    "h": 317.064,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55354,
    "c": 0.16728,
    "h": 340.5
  },
  "luminance": 0.15024
}

Semantic roles & 50–950 ramp

primary
#AF4290
secondary
#8AC29A
accent
#D57853
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF4290

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

Preview Lab → · Contrast checker → · Palette generator →

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