#AF4281#AF4281

#AF4281 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.7% C 0.158 H 347.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AF4281
RGBrgb(175, 66, 129)
HSLhsl(325, 45%, 47%)
HSVhsv(325, 62%, 69%)
CMYKcmyk(0%, 62.3%, 26.3%, 31.4%)
CIE-LABlab(45.08, 50.95, -12.65)
CIE-LCHlch(45.08, 52.50, 346.05°)
OKLaboklab(54.72% 0.1541 -0.0332)
OKLCHoklch(54.72% 0.158 347.8)
XYZxyz(23.5908, 14.5977, 22.3399)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4281 #42AF70
analogous
#A642AF #AF4281 #AF424B
triadic
#AF4281 #81AF42 #4281AF
tetradic
#AF4281 #AFA642 #42AF70 #424BAF
square
#AF4281 #AFA642 #42AF70 #424BAF
split-complementary
#AF4281 #4BAF42 #42AFA6
monochromatic
#56203F #833160 #AF4281 #C6689E #D795BB

Accessibility & contrast

On white

5.36
#AF4281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF4281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4281
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4281#FFFFFF#000000##FFFFFF
##AF42811.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5F83
Deuteranopia (green-blind)
#6D727E
Tritanopia (blue-blind)
#BB3F5C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af4281;
/* rgb */ color: rgb(175, 66, 129);
/* oklch */ color: oklch(54.7% 0.158 347.8);
Tailwind
colors: {
  custom: {
    50: '#ca7da5',
    500: '#af4281',
    950: '#000000',
  },
}
SCSS
$custom: #af4281;
$custom-light: #ca7da5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4281",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 129
  },
  "hsl": {
    "h": 325.321,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54724,
    "c": 0.15764,
    "h": 347.8
  },
  "luminance": 0.14595
}

Semantic roles & 50–950 ramp

primary
#AF4281
secondary
#8AC2A2
accent
#D58A53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4281

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

Preview Lab → · Contrast checker → · Palette generator →

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