#FB7FE1#FB7FE1

#FB7FE1 is a light, vivid pink. Relative luminance 0.411; OKLCH L 76.8% C 0.189 H 335.8°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#FB7FE1
RGBrgb(251, 127, 225)
HSLhsl(313, 94%, 74%)
HSVhsv(313, 49%, 98%)
CMYKcmyk(0%, 49.4%, 10.4%, 1.6%)
CIE-LABlab(70.27, 59.37, -28.64)
CIE-LCHlch(70.27, 65.91, 334.25°)
OKLaboklab(76.79% 0.1722 -0.0774)
OKLCHoklch(76.79% 0.189 335.8)
XYZxyz(60.9639, 41.1284, 75.9471)
Luminance0.4112 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FE1 #7FFB99
analogous
#D77FFB #FB7FE1 #FB7FA3
triadic
#FB7FE1 #E1FB7F #7FE1FB
tetradic
#FB7FE1 #FBD77F #7FFB99 #7FA3FB
square
#FB7FE1 #FBD77F #7FFB99 #7FA3FB
split-complementary
#FB7FE1 #A3FB7F #7FFBD7
monochromatic
#F708C5 #F944D3 #FB7FE1 #FDBAEF #FEE1F8

Accessibility & contrast

On white

2.28
#FB7FE1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#FB7FE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FE1
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FE1#FFFFFF#000000##000000
##FB7FE11.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A0E4
Deuteranopia (green-blind)
#A3B3DE
Tritanopia (blue-blind)
#FF85A6
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7fe1;
/* rgb */ color: rgb(251, 127, 225);
/* oklch */ color: oklch(76.8% 0.189 335.8);
Tailwind
colors: {
  custom: {
    50: '#ffa8ea',
    500: '#fb7fe1',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fe1;
$custom-light: #ffa8ea;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fe1",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 225
  },
  "hsl": {
    "h": 312.581,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76788,
    "c": 0.18879,
    "h": 335.8
  },
  "luminance": 0.41124
}

Semantic roles & 50–950 ramp

primary
#FB7FE1
secondary
#D5F6DC
accent
#E63000
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB7FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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