#FFAFEB#FFAFEB

#FFAFEB is a very light, moderate pink. Relative luminance 0.579; OKLCH L 84.9% C 0.120 H 336.1°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#FFAFEB
RGBrgb(255, 175, 235)
HSLhsl(315, 100%, 84%)
HSVhsv(315, 31%, 100%)
CMYKcmyk(0%, 31.4%, 7.8%, 0%)
CIE-LABlab(80.69, 38.08, -18.15)
CIE-LCHlch(80.69, 42.19, 334.52°)
OKLaboklab(84.86% 0.1094 -0.0485)
OKLCHoklch(84.86% 0.12 336.1)
XYZxyz(71.5648, 57.9213, 85.9914)
Luminance0.5792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFAFEB #AFFFC3
analogous
#EBAFFF #FFAFEB #FFAFC3
triadic
#FFAFEB #EBFFAF #AFEBFF
tetradic
#FFAFEB #FFEBAF #AFFFC3 #AFC3FF
square
#FFAFEB #FFEBAF #AFFFC3 #AFC3FF
split-complementary
#FFAFEB #C3FFAF #AFFFEB
monochromatic
#FF35CC #FF72DC #FFAFEB #FFE0F7 #FFE0F7

Accessibility & contrast

On white

1.67
#FFAFEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#FFAFEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFAFEB
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFAFEB#FFFFFF#000000##000000
##FFAFEB1.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0C1ED
Deuteranopia (green-blind)
#C3CDE9
Tritanopia (blue-blind)
#FFB2C4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #ffafeb;
/* rgb */ color: rgb(255, 175, 235);
/* oklch */ color: oklch(84.9% 0.120 336.1);
Tailwind
colors: {
  custom: {
    50: '#ffc8f1',
    500: '#ffafeb',
    950: '#000000',
  },
}
SCSS
$custom: #ffafeb;
$custom-light: #ffc8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ffafeb",
  "rgb": {
    "r": 255,
    "g": 175,
    "b": 235
  },
  "hsl": {
    "h": 315,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.84856,
    "c": 0.1197,
    "h": 336.1
  },
  "luminance": 0.57918
}

Semantic roles & 50–950 ramp

primary
#FFAFEB
secondary
#6DE58B
accent
#E63900
background
#FFFDFF
surface
#FFF9FE
border
#D7D2D6
text
#181316
muted
#868285

Preview Lab

Preview with #FFAFEB

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

Preview Lab → · Contrast checker → · Palette generator →

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