#FB7BE2#FB7BE2

#FB7BE2 is a light, vivid pink. Relative luminance 0.402; OKLCH L 76.3% C 0.196 H 335.3°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#FB7BE2
RGBrgb(251, 123, 226)
HSLhsl(312, 94%, 73%)
HSVhsv(312, 51%, 98%)
CMYKcmyk(0%, 51%, 10%, 1.6%)
CIE-LABlab(69.59, 61.40, -30.23)
CIE-LCHlch(69.59, 68.44, 333.79°)
OKLaboklab(76.3% 0.1779 -0.0818)
OKLCHoklch(76.3% 0.196 335.3)
XYZxyz(60.5943, 40.1703, 76.4989)
Luminance0.4017 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BE2 #7BFB94
analogous
#D47BFB #FB7BE2 #FB7BA2
triadic
#FB7BE2 #E2FB7B #7BE2FB
tetradic
#FB7BE2 #FBD47B #7BFB94 #7BA2FB
square
#FB7BE2 #FBD47B #7BFB94 #7BA2FB
split-complementary
#FB7BE2 #A2FB7B #7BFBD4
monochromatic
#F407C6 #F940D5 #FB7BE2 #FDB6EF #FEE1F8

Accessibility & contrast

On white

2.32
#FB7BE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#FB7BE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BE2
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BE2#FFFFFF#000000##000000
##FB7BE21.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9EE5
Deuteranopia (green-blind)
#A0B1DE
Tritanopia (blue-blind)
#FF81A4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #fb7be2;
/* rgb */ color: rgb(251, 123, 226);
/* oklch */ color: oklch(76.3% 0.196 335.3);
Tailwind
colors: {
  custom: {
    50: '#ffa6eb',
    500: '#fb7be2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7be2;
$custom-light: #ffa6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7be2",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 311.719,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76299,
    "c": 0.19581,
    "h": 335.3
  },
  "luminance": 0.40166
}

Semantic roles & 50–950 ramp

primary
#FB7BE2
secondary
#D5F6DB
accent
#E62D00
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB7BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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