#AF438D#AF438D

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

Color values

HEX#AF438D
RGBrgb(175, 67, 141)
HSLhsl(319, 45%, 47%)
HSVhsv(319, 62%, 69%)
CMYKcmyk(0%, 61.7%, 19.4%, 31.4%)
CIE-LABlab(45.71, 52.21, -18.96)
CIE-LCHlch(45.71, 55.54, 340.04°)
OKLaboklab(55.34% 0.1557 -0.0508)
OKLCHoklch(55.34% 0.164 341.9)
XYZxyz(24.4947, 15.0535, 26.8097)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF438D #43AF65
analogous
#9B43AF #AF438D #AF4357
triadic
#AF438D #8DAF43 #438DAF
tetradic
#AF438D #AF9B43 #43AF65 #4357AF
square
#AF438D #AF9B43 #43AF65 #4357AF
split-complementary
#AF438D #57AF43 #43AF9B
monochromatic
#562146 #833269 #AF438D #C669A9 #D796C2

Accessibility & contrast

On white

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

On black

4.01
#AF438D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF438D#FFFFFF#000000##FFFFFF
##AF438D1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B618F
Deuteranopia (green-blind)
#6A738A
Tritanopia (blue-blind)
#B94462
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af438d;
/* rgb */ color: rgb(175, 67, 141);
/* oklch */ color: oklch(55.3% 0.164 341.9);
Tailwind
colors: {
  custom: {
    50: '#ca7dae',
    500: '#af438d',
    950: '#000000',
  },
}
SCSS
$custom: #af438d;
$custom-light: #ca7dae;
$custom-dark: #000000;
JSON
{
  "hex": "#af438d",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 141
  },
  "hsl": {
    "h": 318.889,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55341,
    "c": 0.16374,
    "h": 341.9
  },
  "luminance": 0.15051
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF438D

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

Preview Lab → · Contrast checker → · Palette generator →

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