#AF3C8B#AF3C8B

#AF3C8B is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.5% C 0.172 H 342.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AF3C8B
RGBrgb(175, 60, 139)
HSLhsl(319, 49%, 46%)
HSVhsv(319, 66%, 69%)
CMYKcmyk(0%, 65.7%, 20.6%, 31.4%)
CIE-LABlab(44.54, 54.91, -19.55)
CIE-LCHlch(44.54, 58.29, 340.40°)
OKLaboklab(54.45% 0.1643 -0.0523)
OKLCHoklch(54.45% 0.172 342.3)
XYZxyz(23.9560, 14.2120, 25.9026)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C8B #3CAF60
analogous
#993CAF #AF3C8B #AF3C51
triadic
#AF3C8B #8BAF3C #3C8BAF
tetradic
#AF3C8B #AF993C #3CAF60 #3C51AF
square
#AF3C8B #AF993C #3CAF60 #3C51AF
split-complementary
#AF3C8B #51AF3C #3CAF99
monochromatic
#541D43 #812C67 #AF3C8B #C860A8 #D88DC1

Accessibility & contrast

On white

5.47
#AF3C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AF3C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C8B
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C8B#FFFFFF#000000##FFFFFF
##AF3C8B1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455D8D
Deuteranopia (green-blind)
#687088
Tritanopia (blue-blind)
#BA3D5E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3c8b;
/* rgb */ color: rgb(175, 60, 139);
/* oklch */ color: oklch(54.5% 0.172 342.3);
Tailwind
colors: {
  custom: {
    50: '#ca7aad',
    500: '#af3c8b',
    950: '#000000',
  },
}
SCSS
$custom: #af3c8b;
$custom-light: #ca7aad;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c8b",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 139
  },
  "hsl": {
    "h": 318.783,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54454,
    "c": 0.17244,
    "h": 342.3
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

primary
#AF3C8B
secondary
#84C398
accent
#D87A4F
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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