#FB8AEC#FB8AEC

#FB8AEC is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.8% C 0.180 H 332.2°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#FB8AEC
RGBrgb(251, 138, 236)
HSLhsl(308, 93%, 76%)
HSVhsv(308, 45%, 98%)
CMYKcmyk(0%, 45%, 6%, 1.6%)
CIE-LABlab(72.72, 55.84, -30.90)
CIE-LCHlch(72.72, 63.82, 331.04°)
OKLaboklab(78.76% 0.1592 -0.0838)
OKLCHoklch(78.76% 0.18 332.2)
XYZxyz(64.0121, 44.7460, 84.6058)
Luminance0.4474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8AEC #8AFB99
analogous
#D28AFB #FB8AEC #FB8AB4
triadic
#FB8AEC #ECFB8A #8AECFB
tetradic
#FB8AEC #FBD28A #8AFB99 #8AB4FB
square
#FB8AEC #FBD28A #8AFB99 #8AB4FB
split-complementary
#FB8AEC #B4FB8A #8AFBD2
monochromatic
#F714D9 #F94FE2 #FB8AEC #FDC5F6 #FEE1FA

Accessibility & contrast

On white

2.11
#FB8AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#FB8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8AEC
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8AEC#FFFFFF#000000##000000
##FB8AEC1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A8EF
Deuteranopia (green-blind)
#A6B8E9
Tritanopia (blue-blind)
#FF91B0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #fb8aec;
/* rgb */ color: rgb(251, 138, 236);
/* oklch */ color: oklch(78.8% 0.180 332.2);
Tailwind
colors: {
  custom: {
    50: '#ffaff2',
    500: '#fb8aec',
    950: '#000000',
  },
}
SCSS
$custom: #fb8aec;
$custom-light: #ffaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8aec",
  "rgb": {
    "r": 251,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 307.965,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.78757,
    "c": 0.17993,
    "h": 332.2
  },
  "luminance": 0.44742
}

Semantic roles & 50–950 ramp

primary
#FB8AEC
secondary
#D5F6D9
accent
#E61E00
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#181117
muted
#868085

Preview Lab

Preview with #FB8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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