#AF437F#AF437F

#AF437F is a mid, vivid pink. Relative luminance 0.147; OKLCH L 54.8% C 0.155 H 349.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#AF437F
RGBrgb(175, 67, 127)
HSLhsl(327, 45%, 47%)
HSVhsv(327, 62%, 69%)
CMYKcmyk(0%, 61.7%, 27.4%, 31.4%)
CIE-LABlab(45.17, 50.24, -11.30)
CIE-LCHlch(45.17, 51.50, 347.33°)
OKLaboklab(54.77% 0.1522 -0.0295)
OKLCHoklch(54.77% 0.155 349)
XYZxyz(23.5181, 14.6629, 21.6662)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF437F #43AF73
analogous
#A943AF #AF437F #AF4349
triadic
#AF437F #7FAF43 #437FAF
tetradic
#AF437F #AFA943 #43AF73 #4349AF
square
#AF437F #AFA943 #43AF73 #4349AF
split-complementary
#AF437F #49AF43 #43AFA9
monochromatic
#56213F #83325F #AF437F #C6699D #D796BA

Accessibility & contrast

On white

5.34
#AF437F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#AF437F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF437F
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF437F#FFFFFF#000000##FFFFFF
##AF437F1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F81
Deuteranopia (green-blind)
#6E727C
Tritanopia (blue-blind)
#BB3F5B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af437f;
/* rgb */ color: rgb(175, 67, 127);
/* oklch */ color: oklch(54.8% 0.155 349.0);
Tailwind
colors: {
  custom: {
    50: '#ca7da4',
    500: '#af437f',
    950: '#000000',
  },
}
SCSS
$custom: #af437f;
$custom-light: #ca7da4;
$custom-dark: #000000;
JSON
{
  "hex": "#af437f",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 127
  },
  "hsl": {
    "h": 326.667,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54767,
    "c": 0.15501,
    "h": 349
  },
  "luminance": 0.14661
}

Semantic roles & 50–950 ramp

primary
#AF437F
secondary
#8BC2A4
accent
#D48D53
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF437F

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

Preview Lab → · Contrast checker → · Palette generator →

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