#FB7CE2#FB7CE2

#FB7CE2 is a light, vivid pink. Relative luminance 0.404; OKLCH L 76.4% C 0.194 H 335.3°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#FB7CE2
RGBrgb(251, 124, 226)
HSLhsl(312, 94%, 74%)
HSVhsv(312, 51%, 98%)
CMYKcmyk(0%, 50.6%, 10%, 1.6%)
CIE-LABlab(69.77, 60.94, -29.96)
CIE-LCHlch(69.77, 67.90, 333.82°)
OKLaboklab(76.43% 0.1765 -0.0811)
OKLCHoklch(76.43% 0.194 335.3)
XYZxyz(60.7190, 40.4197, 76.5405)
Luminance0.4042 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CE2 #7CFB95
analogous
#D47CFB #FB7CE2 #FB7CA2
triadic
#FB7CE2 #E2FB7C #7CE2FB
tetradic
#FB7CE2 #FBD47C #7CFB95 #7CA2FB
square
#FB7CE2 #FBD47C #7CFB95 #7CA2FB
split-complementary
#FB7CE2 #A2FB7C #7CFBD4
monochromatic
#F507C6 #F941D5 #FB7CE2 #FDB7EF #FEE1F8

Accessibility & contrast

On white

2.31
#FB7CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#FB7CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CE2
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CE2#FFFFFF#000000##000000
##FB7CE21.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9FE5
Deuteranopia (green-blind)
#A1B1DE
Tritanopia (blue-blind)
#FF82A5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #fb7ce2;
/* rgb */ color: rgb(251, 124, 226);
/* oklch */ color: oklch(76.4% 0.194 335.3);
Tailwind
colors: {
  custom: {
    50: '#ffa6eb',
    500: '#fb7ce2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ce2;
$custom-light: #ffa6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ce2",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 311.811,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7643,
    "c": 0.19426,
    "h": 335.3
  },
  "luminance": 0.40416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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