#FFAFCB#FFAFCB

#FFAFCB is a very light, moderate pink. Relative luminance 0.562; OKLCH L 83.8% C 0.099 H 356.8°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#FFAFCB
RGBrgb(255, 175, 203)
HSLhsl(339, 100%, 84%)
HSVhsv(339, 31%, 100%)
CMYKcmyk(0%, 31.4%, 20.4%, 0%)
CIE-LABlab(79.75, 33.06, -2.27)
CIE-LCHlch(79.75, 33.14, 356.07°)
OKLaboklab(83.82% 0.0991 -0.0055)
OKLCHoklch(83.82% 0.099 356.8)
XYZxyz(67.3503, 56.2355, 63.7954)
Luminance0.5623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFCB #AFFFE3
analogous
#FFAFF3 #FFAFCB #FFBBAF
triadic
#FFAFCB #CBFFAF #AFCBFF
tetradic
#FFAFCB #F3FFAF #AFFFE3 #BBAFFF
square
#FFAFCB #F3FFAF #AFFFE3 #BBAFFF
split-complementary
#FFAFCB #AFFFBB #AFF3FF
monochromatic
#FF357B #FF72A3 #FFAFCB #FFE0EB #FFE0EB

Accessibility & contrast

On white

1.71
#FFAFCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#FFAFCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFCB
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFCB#FFFFFF#000000##000000
##FFAFCB1.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8BDCC
Deuteranopia (green-blind)
#CBCBC9
Tritanopia (blue-blind)
#FFABB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ffafcb;
/* rgb */ color: rgb(255, 175, 203);
/* oklch */ color: oklch(83.8% 0.099 356.8);
Tailwind
colors: {
  custom: {
    50: '#ffc7da',
    500: '#ffafcb',
    950: '#000000',
  },
}
SCSS
$custom: #ffafcb;
$custom-light: #ffc7da;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafcb",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 203
  },
  "hsl": {
    "h": 339,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.8382,
    "c": 0.09925,
    "h": 356.8
  },
  "luminance": 0.56232
}

Semantic roles & 50–950 ramp

primary
#FFAFCB
secondary
#6DE5BB
accent
#E69500
background
#FFFDFE
surface
#FFF9FB
border
#D7D2D4
text
#181314
muted
#868283

Preview Lab

Preview with #FFAFCB

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

Preview Lab → · Contrast checker → · Palette generator →

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