#AF438A#AF438A

#AF438A is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.2% C 0.162 H 343.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#AF438A
RGBrgb(175, 67, 138)
HSLhsl(321, 45%, 47%)
HSVhsv(321, 62%, 69%)
CMYKcmyk(0%, 61.7%, 21.1%, 31.4%)
CIE-LABlab(45.59, 51.77, -17.34)
CIE-LCHlch(45.59, 54.59, 341.49°)
OKLaboklab(55.21% 0.155 -0.0462)
OKLCHoklch(55.21% 0.162 343.4)
XYZxyz(24.2745, 14.9655, 25.6500)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF438A #43AF68
analogous
#9E43AF #AF438A #AF4354
triadic
#AF438A #8AAF43 #438AAF
tetradic
#AF438A #AF9E43 #43AF68 #4354AF
square
#AF438A #AF9E43 #43AF68 #4354AF
split-complementary
#AF438A #54AF43 #43AF9E
monochromatic
#562144 #833267 #AF438A #C669A6 #D796C0

Accessibility & contrast

On white

5.26
#AF438A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#AF438A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF438A
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF438A#FFFFFF#000000##FFFFFF
##AF438A1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618C
Deuteranopia (green-blind)
#6B7387
Tritanopia (blue-blind)
#BA4360
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af438a;
/* rgb */ color: rgb(175, 67, 138);
/* oklch */ color: oklch(55.2% 0.162 343.4);
Tailwind
colors: {
  custom: {
    50: '#ca7dac',
    500: '#af438a',
    950: '#000000',
  },
}
SCSS
$custom: #af438a;
$custom-light: #ca7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#af438a",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 138
  },
  "hsl": {
    "h": 320.556,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55213,
    "c": 0.16173,
    "h": 343.4
  },
  "luminance": 0.14963
}

Semantic roles & 50–950 ramp

primary
#AF438A
secondary
#8BC29E
accent
#D48053
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF438A

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

Preview Lab → · Contrast checker → · Palette generator →

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