#FB7BE4#FB7BE4

#FB7BE4 is a light, vivid pink. Relative luminance 0.403; OKLCH L 76.4% C 0.197 H 334.6°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#FB7BE4
RGBrgb(251, 123, 228)
HSLhsl(311, 94%, 73%)
HSVhsv(311, 51%, 98%)
CMYKcmyk(0%, 51%, 9.2%, 1.6%)
CIE-LABlab(69.67, 61.72, -31.21)
CIE-LCHlch(69.67, 69.16, 333.17°)
OKLaboklab(76.38% 0.1783 -0.0846)
OKLCHoklch(76.38% 0.197 334.6)
XYZxyz(60.8703, 40.2807, 77.9526)
Luminance0.4028 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BE4 #7BFB92
analogous
#D27BFB #FB7BE4 #FB7BA4
triadic
#FB7BE4 #E4FB7B #7BE4FB
tetradic
#FB7BE4 #FBD27B #7BFB92 #7BA4FB
square
#FB7BE4 #FBD27B #7BFB92 #7BA4FB
split-complementary
#FB7BE4 #A4FB7B #7BFBD2
monochromatic
#F407CA #F940D8 #FB7BE4 #FDB6F0 #FEE1F9

Accessibility & contrast

On white

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

On black

9.06
#FB7BE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BE4
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BE4#FFFFFF#000000##000000
##FB7BE41.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9EE7
Deuteranopia (green-blind)
#9FB1E0
Tritanopia (blue-blind)
#FF82A5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #fb7be4;
/* rgb */ color: rgb(251, 123, 228);
/* oklch */ color: oklch(76.4% 0.197 334.6);
Tailwind
colors: {
  custom: {
    50: '#ffa6ec',
    500: '#fb7be4',
    950: '#000000',
  },
}
SCSS
$custom: #fb7be4;
$custom-light: #ffa6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7be4",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 228
  },
  "hsl": {
    "h": 310.781,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.76383,
    "c": 0.19736,
    "h": 334.6
  },
  "luminance": 0.40277
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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