#FB6AEC#FB6AEC

#FB6AEC is a light, highly saturated purple. Relative luminance 0.369; OKLCH L 74.7% C 0.229 H 331.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#FB6AEC
RGBrgb(251, 106, 236)
HSLhsl(306, 95%, 70%)
HSVhsv(306, 58%, 98%)
CMYKcmyk(0%, 57.8%, 6%, 1.6%)
CIE-LABlab(67.19, 70.55, -39.49)
CIE-LCHlch(67.19, 80.85, 330.76°)
OKLaboklab(74.66% 0.2015 -0.108)
OKLCHoklch(74.66% 0.229 331.8)
XYZxyz(60.0779, 36.8777, 83.2944)
Luminance0.3687 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB6AEC #6AFB79
analogous
#C26AFB #FB6AEC #FB6AA3
triadic
#FB6AEC #ECFB6A #6AECFB
tetradic
#FB6AEC #FBC26A #6AFB79 #6AA3FB
square
#FB6AEC #FBC26A #6AFB79 #6AA3FB
split-complementary
#FB6AEC #A3FB6A #6AFBC2
monochromatic
#E406CD #F92EE4 #FB6AEC #FDA6F4 #FEE1FB

Accessibility & contrast

On white

2.51
#FB6AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#FB6AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB6AEC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB6AEC#FFFFFF#000000##000000
##FB6AEC1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496F0
Deuteranopia (green-blind)
#92ABE8
Tritanopia (blue-blind)
#FF76A2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #fb6aec;
/* rgb */ color: rgb(251, 106, 236);
/* oklch */ color: oklch(74.7% 0.229 331.8);
Tailwind
colors: {
  custom: {
    50: '#ff9cf2',
    500: '#fb6aec',
    950: '#000000',
  },
}
SCSS
$custom: #fb6aec;
$custom-light: #ff9cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb6aec",
  "rgb": {
    "r": 251,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 306.207,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.74662,
    "c": 0.22865,
    "h": 331.8
  },
  "luminance": 0.36873
}

Semantic roles & 50–950 ramp

primary
#FB6AEC
secondary
#CCF5D0
accent
#E61800
background
#FFFAFE
surface
#FFF3FD
border
#D7CDD5
text
#180F17
muted
#867F85

Preview Lab

Preview with #FB6AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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