#FB5CEC#FB5CEC

#FB5CEC is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 73.2% C 0.247 H 331.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#FB5CEC
RGBrgb(251, 92, 236)
HSLhsl(306, 95%, 67%)
HSVhsv(306, 63%, 98%)
CMYKcmyk(0%, 63.3%, 6%, 1.6%)
CIE-LABlab(65.14, 76.18, -42.69)
CIE-LCHlch(65.14, 87.33, 330.73°)
OKLaboklab(73.17% 0.2178 -0.1171)
OKLCHoklch(73.17% 0.247 331.7)
XYZxyz(58.7511, 34.2241, 82.8522)
Luminance0.3422 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5CEC #5CFB6B
analogous
#BA5CFB #FB5CEC #FB5C9D
triadic
#FB5CEC #ECFB5C #5CECFB
tetradic
#FB5CEC #FBBA5C #5CFB6B #5C9DFB
square
#FB5CEC #FBBA5C #5CFB6B #5C9DFB
split-complementary
#FB5CEC #9DFB5C #5CFBBA
monochromatic
#D705C4 #FA20E5 #FB5CEC #FC98F3 #FED3FA

Accessibility & contrast

On white

2.68
#FB5CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#FB5CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5CEC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5CEC#FFFFFF#000000##000000
##FB5CEC1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F0
Deuteranopia (green-blind)
#8AA6E8
Tritanopia (blue-blind)
#FF6B9C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #fb5cec;
/* rgb */ color: rgb(251, 92, 236);
/* oklch */ color: oklch(73.2% 0.247 331.7);
Tailwind
colors: {
  custom: {
    50: '#ff94f2',
    500: '#fb5cec',
    950: '#000000',
  },
}
SCSS
$custom: #fb5cec;
$custom-light: #ff94f2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5cec",
  "rgb": {
    "r": 251,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 305.66,
    "s": 95.21,
    "l": 67.255
  },
  "oklch": {
    "l": 0.7317,
    "c": 0.24729,
    "h": 331.7
  },
  "luminance": 0.3422
}

Semantic roles & 50–950 ramp

primary
#FB5CEC
secondary
#C0F2C5
accent
#E61600
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85

Preview Lab

Preview with #FB5CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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