#FB5ED5#FB5ED5

#FB5ED5 is a light, highly saturated pink. Relative luminance 0.333; OKLCH L 72.3% C 0.228 H 338.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#FB5ED5
RGBrgb(251, 94, 213)
HSLhsl(315, 95%, 68%)
HSVhsv(315, 63%, 98%)
CMYKcmyk(0%, 62.5%, 15.1%, 1.6%)
CIE-LABlab(64.42, 72.01, -30.97)
CIE-LCHlch(64.42, 78.39, 336.73°)
OKLaboklab(72.32% 0.2126 -0.0837)
OKLCHoklch(72.32% 0.228 338.5)
XYZxyz(55.7976, 33.3236, 66.4313)
Luminance0.3332 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5ED5 #5EFB84
analogous
#D25EFB #FB5ED5 #FB5E87
triadic
#FB5ED5 #D5FB5E #5ED5FB
tetradic
#FB5ED5 #FBD25E #5EFB84 #5E87FB
square
#FB5ED5 #FBD25E #5EFB84 #5E87FB
split-complementary
#FB5ED5 #87FB5E #5EFBD2
monochromatic
#D905A6 #FA22C5 #FB5ED5 #FC9AE5 #FED5F4

Accessibility & contrast

On white

2.74
#FB5ED5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#FB5ED5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5ED5
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5ED5#FFFFFF#000000##000000
##FB5ED51.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#648DD9
Deuteranopia (green-blind)
#95A5D1
Tritanopia (blue-blind)
#FF6491
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #fb5ed5;
/* rgb */ color: rgb(251, 94, 213);
/* oklch */ color: oklch(72.3% 0.228 338.5);
Tailwind
colors: {
  custom: {
    50: '#ff95e2',
    500: '#fb5ed5',
    950: '#000000',
  },
}
SCSS
$custom: #fb5ed5;
$custom-light: #ff95e2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5ed5",
  "rgb": {
    "r": 251,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 314.522,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72321,
    "c": 0.22844,
    "h": 338.5
  },
  "luminance": 0.33319
}

Semantic roles & 50–950 ramp

primary
#FB5ED5
secondary
#C2F3CE
accent
#E63800
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #FB5ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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