#FB7FDF#FB7FDF

#FB7FDF is a light, vivid pink. Relative luminance 0.410; OKLCH L 76.7% C 0.187 H 336.5°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#FB7FDF
RGBrgb(251, 127, 223)
HSLhsl(314, 94%, 74%)
HSVhsv(314, 49%, 98%)
CMYKcmyk(0%, 49.4%, 11.2%, 1.6%)
CIE-LABlab(70.19, 59.05, -27.65)
CIE-LCHlch(70.19, 65.21, 334.91°)
OKLaboklab(76.71% 0.1718 -0.0746)
OKLCHoklch(76.71% 0.187 336.5)
XYZxyz(60.6926, 41.0199, 74.5187)
Luminance0.4102 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FDF #7FFB9B
analogous
#D97FFB #FB7FDF #FB7FA1
triadic
#FB7FDF #DFFB7F #7FDFFB
tetradic
#FB7FDF #FBD97F #7FFB9B #7FA1FB
square
#FB7FDF #FBD97F #7FFB9B #7FA1FB
split-complementary
#FB7FDF #A1FB7F #7FFBD9
monochromatic
#F708C1 #F944D0 #FB7FDF #FDBAEE #FEE1F8

Accessibility & contrast

On white

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

On black

9.20
#FB7FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FDF
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FDF#FFFFFF#000000##000000
##FB7FDF1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A0E2
Deuteranopia (green-blind)
#A4B2DC
Tritanopia (blue-blind)
#FF84A5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #fb7fdf;
/* rgb */ color: rgb(251, 127, 223);
/* oklch */ color: oklch(76.7% 0.187 336.5);
Tailwind
colors: {
  custom: {
    50: '#ffa8e9',
    500: '#fb7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fdf;
$custom-light: #ffa8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fdf",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 313.548,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76706,
    "c": 0.18728,
    "h": 336.5
  },
  "luminance": 0.41016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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