#FB7FE5#FB7FE5

#FB7FE5 is a light, vivid pink. Relative luminance 0.413; OKLCH L 77.0% C 0.192 H 334.4°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#FB7FE5
RGBrgb(251, 127, 229)
HSLhsl(311, 94%, 74%)
HSVhsv(311, 49%, 98%)
CMYKcmyk(0%, 49.4%, 8.8%, 1.6%)
CIE-LABlab(70.42, 60.00, -30.61)
CIE-LCHlch(70.42, 67.36, 332.97°)
OKLaboklab(76.95% 0.173 -0.0829)
OKLCHoklch(76.95% 0.192 334.4)
XYZxyz(61.5159, 41.3492, 78.8547)
Luminance0.4134 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FE5 #7FFB95
analogous
#D37FFB #FB7FE5 #FB7FA7
triadic
#FB7FE5 #E5FB7F #7FE5FB
tetradic
#FB7FE5 #FBD37F #7FFB95 #7FA7FB
square
#FB7FE5 #FBD37F #7FFB95 #7FA7FB
split-complementary
#FB7FE5 #A7FB7F #7FFBD3
monochromatic
#F708CD #F944D9 #FB7FE5 #FDBAF1 #FEE1F9

Accessibility & contrast

On white

2.27
#FB7FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#FB7FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FE5
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FE5#FFFFFF#000000##000000
##FB7FE51.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA1E8
Deuteranopia (green-blind)
#A1B3E2
Tritanopia (blue-blind)
#FF86A8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7fe5;
/* rgb */ color: rgb(251, 127, 229);
/* oklch */ color: oklch(77.0% 0.192 334.4);
Tailwind
colors: {
  custom: {
    50: '#ffa8ed',
    500: '#fb7fe5',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fe5;
$custom-light: #ffa8ed;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fe5",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 310.645,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76953,
    "c": 0.19188,
    "h": 334.4
  },
  "luminance": 0.41345
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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