#AF438C#AF438C

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

Color values

HEX#AF438C
RGBrgb(175, 67, 140)
HSLhsl(319, 45%, 47%)
HSVhsv(319, 62%, 69%)
CMYKcmyk(0%, 61.7%, 20%, 31.4%)
CIE-LABlab(45.67, 52.06, -18.42)
CIE-LCHlch(45.67, 55.22, 340.51°)
OKLaboklab(55.3% 0.1555 -0.0492)
OKLCHoklch(55.3% 0.163 342.4)
XYZxyz(24.4206, 15.0239, 26.4196)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF438C #43AF66
analogous
#9C43AF #AF438C #AF4356
triadic
#AF438C #8CAF43 #438CAF
tetradic
#AF438C #AF9C43 #43AF66 #4356AF
square
#AF438C #AF9C43 #43AF66 #4356AF
split-complementary
#AF438C #56AF43 #43AF9C
monochromatic
#562145 #833269 #AF438C #C669A8 #D796C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF438C#FFFFFF#000000##FFFFFF
##AF438C1.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)
#4B618E
Deuteranopia (green-blind)
#6B7389
Tritanopia (blue-blind)
#B94461
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af438c;
/* rgb */ color: rgb(175, 67, 140);
/* oklch */ color: oklch(55.3% 0.163 342.4);
Tailwind
colors: {
  custom: {
    50: '#ca7dad',
    500: '#af438c',
    950: '#000000',
  },
}
SCSS
$custom: #af438c;
$custom-light: #ca7dad;
$custom-dark: #000000;
JSON
{
  "hex": "#af438c",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 319.444,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55298,
    "c": 0.16306,
    "h": 342.4
  },
  "luminance": 0.15022
}

Semantic roles & 50–950 ramp

primary
#AF438C
secondary
#8BC29D
accent
#D47D53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF438C

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

Preview Lab → · Contrast checker → · Palette generator →

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