#FB7FA7#FB7FA7

#FB7FA7 is a light, vivid pink. Relative luminance 0.385; OKLCH L 74.8% C 0.156 H 1.1°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#FB7FA7
RGBrgb(251, 127, 167)
HSLhsl(341, 94%, 74%)
HSVhsv(341, 49%, 98%)
CMYKcmyk(0%, 49.4%, 33.5%, 1.6%)
CIE-LABlab(68.38, 51.32, 0.91)
CIE-LCHlch(68.38, 51.33, 1.02°)
OKLaboklab(74.75% 0.1559 0.0031)
OKLCHoklch(74.75% 0.156 1.1)
XYZxyz(54.3506, 38.4830, 41.1173)
Luminance0.3848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FA7 #7FFBD3
analogous
#FB7FE5 #FB7FA7 #FB957F
triadic
#FB7FA7 #A7FB7F #7FA7FB
tetradic
#FB7FA7 #E5FB7F #7FFBD3 #957FFB
square
#FB7FA7 #E5FB7F #7FFBD3 #957FFB
split-complementary
#FB7FA7 #7FFB95 #7FE5FB
monochromatic
#F70855 #F9447E #FB7FA7 #FDBAD0 #FEE1EB

Accessibility & contrast

On white

2.42
#FB7FA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#FB7FA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FA7
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FA7#FFFFFF#000000##000000
##FB7FA71.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9398A8
Deuteranopia (green-blind)
#B3AFA4
Tritanopia (blue-blind)
#FF758E
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #fb7fa7;
/* rgb */ color: rgb(251, 127, 167);
/* oklch */ color: oklch(74.8% 0.156 1.1);
Tailwind
colors: {
  custom: {
    50: '#ffa7c1',
    500: '#fb7fa7',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fa7;
$custom-light: #ffa7c1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fa7",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 340.645,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74751,
    "c": 0.15595,
    "h": 1.1
  },
  "luminance": 0.38478
}

Semantic roles & 50–950 ramp

primary
#FB7FA7
secondary
#D5F6EB
accent
#E69B00
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #FB7FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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