#AF438F#AF438F

#AF438F is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.4% C 0.165 H 341.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#AF438F
RGBrgb(175, 67, 143)
HSLhsl(318, 45%, 47%)
HSVhsv(318, 62%, 69%)
CMYKcmyk(0%, 61.7%, 18.3%, 31.4%)
CIE-LABlab(45.79, 52.50, -20.04)
CIE-LCHlch(45.79, 56.20, 339.11°)
OKLaboklab(55.43% 0.1561 -0.0538)
OKLCHoklch(55.43% 0.165 341)
XYZxyz(24.6448, 15.1136, 27.6005)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF438F #43AF63
analogous
#9943AF #AF438F #AF4359
triadic
#AF438F #8FAF43 #438FAF
tetradic
#AF438F #AF9943 #43AF63 #4359AF
square
#AF438F #AF9943 #43AF63 #4359AF
split-complementary
#AF438F #59AF43 #43AF99
monochromatic
#562147 #83326B #AF438F #C669AA #D796C3

Accessibility & contrast

On white

5.22
#AF438F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#AF438F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF438F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF438F#FFFFFF#000000##FFFFFF
##AF438F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6191
Deuteranopia (green-blind)
#6A738C
Tritanopia (blue-blind)
#B94563
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af438f;
/* rgb */ color: rgb(175, 67, 143);
/* oklch */ color: oklch(55.4% 0.165 341.0);
Tailwind
colors: {
  custom: {
    50: '#ca7eb0',
    500: '#af438f',
    950: '#000000',
  },
}
SCSS
$custom: #af438f;
$custom-light: #ca7eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#af438f",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 143
  },
  "hsl": {
    "h": 317.778,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55428,
    "c": 0.16511,
    "h": 341
  },
  "luminance": 0.15111
}

Semantic roles & 50–950 ramp

primary
#AF438F
secondary
#8BC29C
accent
#D47A53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF438F

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

Preview Lab → · Contrast checker → · Palette generator →

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