#AF4B6B#AF4B6B

#AF4B6B is a mid, vivid pink. Relative luminance 0.152; OKLCH L 55.1% C 0.134 H 2.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#AF4B6B
RGBrgb(175, 75, 107)
HSLhsl(341, 40%, 49%)
HSVhsv(341, 57%, 69%)
CMYKcmyk(0%, 57.1%, 38.9%, 31.4%)
CIE-LABlab(45.92, 44.00, 2.02)
CIE-LCHlch(45.92, 44.05, 2.63°)
OKLaboklab(55.11% 0.1341 0.0058)
OKLCHoklch(55.11% 0.134 2.5)
XYZxyz(22.8504, 15.2101, 15.6395)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4B6B #4BAF8F
analogous
#AF4B9D #AF4B6B #AF5D4B
triadic
#AF4B6B #6BAF4B #4B6BAF
tetradic
#AF4B6B #9DAF4B #4BAF8F #5D4BAF
square
#AF4B6B #9DAF4B #4BAF8F #5D4BAF
split-complementary
#AF4B6B #4BAF5D #4B9DAF
monochromatic
#592637 #843951 #AF4B6B #C3748D #D69FB0

Accessibility & contrast

On white

5.20
#AF4B6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#AF4B6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4B6B
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4B6B#FFFFFF#000000##FFFFFF
##AF4B6B1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D616C
Deuteranopia (green-blind)
#777469
Tritanopia (blue-blind)
#BD4157
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4b6b;
/* rgb */ color: rgb(175, 75, 107);
/* oklch */ color: oklch(55.1% 0.134 2.5);
Tailwind
colors: {
  custom: {
    50: '#ca8195',
    500: '#af4b6b',
    950: '#000000',
  },
}
SCSS
$custom: #af4b6b;
$custom-light: #ca8195;
$custom-dark: #000000;
JSON
{
  "hex": "#af4b6b",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 107
  },
  "hsl": {
    "h": 340.8,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55114,
    "c": 0.13418,
    "h": 2.5
  },
  "luminance": 0.15208
}

Semantic roles & 50–950 ramp

primary
#AF4B6B
secondary
#93C2B3
accent
#D0A958
background
#FCF8F9
surface
#F9EFF1
border
#D2CACB
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF4B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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