#FB7FA5#FB7FA5

#FB7FA5 is a light, vivid pink. Relative luminance 0.384; OKLCH L 74.7% C 0.155 H 2.1°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#FB7FA5
RGBrgb(251, 127, 165)
HSLhsl(342, 94%, 74%)
HSVhsv(342, 49%, 98%)
CMYKcmyk(0%, 49.4%, 34.3%, 1.6%)
CIE-LABlab(68.32, 51.09, 1.96)
CIE-LCHlch(68.32, 51.13, 2.20°)
OKLaboklab(74.69% 0.1552 0.0058)
OKLCHoklch(74.69% 0.155 2.1)
XYZxyz(54.1671, 38.4097, 40.1511)
Luminance0.3841 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7FA5 #7FFBD5
analogous
#FB7FE3 #FB7FA5 #FB977F
triadic
#FB7FA5 #A5FB7F #7FA5FB
tetradic
#FB7FA5 #E3FB7F #7FFBD5 #977FFB
square
#FB7FA5 #E3FB7F #7FFBD5 #977FFB
split-complementary
#FB7FA5 #7FFB97 #7FE3FB
monochromatic
#F70852 #F9447B #FB7FA5 #FDBACF #FEE1EA

Accessibility & contrast

On white

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

On black

8.68
#FB7FA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7FA5
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7FA5#FFFFFF#000000##000000
##FB7FA51.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9398A6
Deuteranopia (green-blind)
#B3AFA2
Tritanopia (blue-blind)
#FF758D
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #fb7fa5;
/* rgb */ color: rgb(251, 127, 165);
/* oklch */ color: oklch(74.7% 0.155 2.1);
Tailwind
colors: {
  custom: {
    50: '#ffa7bf',
    500: '#fb7fa5',
    950: '#000000',
  },
}
SCSS
$custom: #fb7fa5;
$custom-light: #ffa7bf;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7fa5",
  "rgb": {
    "r": 251,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 341.613,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74693,
    "c": 0.15534,
    "h": 2.1
  },
  "luminance": 0.38405
}

Semantic roles & 50–950 ramp

primary
#FB7FA5
secondary
#D5F6EC
accent
#E69F00
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #FB7FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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