#AF307A#AF307A

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

Color values

HEX#AF307A
RGBrgb(175, 48, 122)
HSLhsl(325, 57%, 44%)
HSVhsv(325, 73%, 69%)
CMYKcmyk(0%, 72.6%, 30.3%, 31.4%)
CIE-LABlab(42.21, 57.25, -12.71)
CIE-LCHlch(42.21, 58.65, 347.48°)
OKLaboklab(52.53% 0.1746 -0.0333)
OKLCHoklch(52.53% 0.178 349.2)
XYZxyz(22.2501, 12.6355, 19.6757)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF307A #30AF65
analogous
#A430AF #AF307A #AF303A
triadic
#AF307A #7AAF30 #307AAF
tetradic
#AF307A #AFA430 #30AF65 #303AAF
square
#AF307A #AFA430 #30AF65 #303AAF
split-complementary
#AF307A #3AAF30 #30AFA4
monochromatic
#4F1637 #7F2359 #AF307A #CE4E99 #DC7EB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF307A#FFFFFF#000000##FFFFFF
##AF307A1.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)
#43557C
Deuteranopia (green-blind)
#686C77
Tritanopia (blue-blind)
#BC2951
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af307a;
/* rgb */ color: rgb(175, 48, 122);
/* oklch */ color: oklch(52.5% 0.178 349.2);
Tailwind
colors: {
  custom: {
    50: '#cb73a0',
    500: '#af307a',
    950: '#000000',
  },
}
SCSS
$custom: #af307a;
$custom-light: #cb73a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af307a",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 325.039,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52529,
    "c": 0.17773,
    "h": 349.2
  },
  "luminance": 0.12633
}

Semantic roles & 50–950 ramp

primary
#AF307A
secondary
#76C497
accent
#E08748
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF307A

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

Preview Lab → · Contrast checker → · Palette generator →

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