#AF438E#AF438E

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

Color values

HEX#AF438E
RGBrgb(175, 67, 142)
HSLhsl(318, 45%, 47%)
HSVhsv(318, 62%, 69%)
CMYKcmyk(0%, 61.7%, 18.9%, 31.4%)
CIE-LABlab(45.75, 52.35, -19.50)
CIE-LCHlch(45.75, 55.87, 339.57°)
OKLaboklab(55.38% 0.1559 -0.0523)
OKLCHoklch(55.38% 0.164 341.5)
XYZxyz(24.5694, 15.0834, 27.2033)
Luminance0.1508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF438E #43AF64
analogous
#9A43AF #AF438E #AF4358
triadic
#AF438E #8EAF43 #438EAF
tetradic
#AF438E #AF9A43 #43AF64 #4358AF
square
#AF438E #AF9A43 #43AF64 #4358AF
split-complementary
#AF438E #58AF43 #43AF9A
monochromatic
#562146 #83326A #AF438E #C669AA #D796C3

Accessibility & contrast

On white

5.23
#AF438E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF438E
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF438E#FFFFFF#000000##FFFFFF
##AF438E1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af438e;
/* rgb */ color: rgb(175, 67, 142);
/* oklch */ color: oklch(55.4% 0.164 341.5);
Tailwind
colors: {
  custom: {
    50: '#ca7eaf',
    500: '#af438e',
    950: '#000000',
  },
}
SCSS
$custom: #af438e;
$custom-light: #ca7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#af438e",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 318.333,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55384,
    "c": 0.16442,
    "h": 341.5
  },
  "luminance": 0.15081
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF438E

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

Preview Lab → · Contrast checker → · Palette generator →

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