#FB5AD7#FB5AD7

#FB5AD7 is a light, highly saturated pink. Relative luminance 0.327; OKLCH L 72.0% C 0.235 H 337.8°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#FB5AD7
RGBrgb(251, 90, 215)
HSLhsl(313, 95%, 67%)
HSVhsv(313, 64%, 98%)
CMYKcmyk(0%, 64.1%, 14.3%, 1.6%)
CIE-LABlab(63.94, 73.85, -32.84)
CIE-LCHlch(63.94, 80.82, 336.03°)
OKLaboklab(72% 0.2175 -0.0889)
OKLCHoklch(72% 0.235 337.8)
XYZxyz(55.7065, 32.7327, 67.6610)
Luminance0.3273 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5AD7 #5AFB7E
analogous
#CE5AFB #FB5AD7 #FB5A87
triadic
#FB5AD7 #D7FB5A #5AD7FB
tetradic
#FB5AD7 #FBCE5A #5AFB7E #5A87FB
square
#FB5AD7 #FBCE5A #5AFB7E #5A87FB
split-complementary
#FB5AD7 #87FB5A #5AFBCE
monochromatic
#D505A7 #FA1EC9 #FB5AD7 #FC96E5 #FED2F4

Accessibility & contrast

On white

2.78
#FB5AD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#FB5AD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5AD7
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5AD7#FFFFFF#000000##000000
##FB5AD71.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8BDB
Deuteranopia (green-blind)
#92A4D3
Tritanopia (blue-blind)
#FF6191
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #fb5ad7;
/* rgb */ color: rgb(251, 90, 215);
/* oklch */ color: oklch(72.0% 0.235 337.8);
Tailwind
colors: {
  custom: {
    50: '#ff93e3',
    500: '#fb5ad7',
    950: '#000000',
  },
}
SCSS
$custom: #fb5ad7;
$custom-light: #ff93e3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5ad7",
  "rgb": {
    "r": 251,
    "g": 90,
    "b": 215
  },
  "hsl": {
    "h": 313.416,
    "s": 95.266,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71999,
    "c": 0.23498,
    "h": 337.8
  },
  "luminance": 0.32728
}

Semantic roles & 50–950 ramp

primary
#FB5AD7
secondary
#BFF2CA
accent
#E63300
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #FB5AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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