#FB7CA7#FB7CA7

#FB7CA7 is a light, vivid pink. Relative luminance 0.377; OKLCH L 74.3% C 0.160 H 0.3°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#FB7CA7
RGBrgb(251, 124, 167)
HSLhsl(340, 94%, 74%)
HSVhsv(340, 51%, 98%)
CMYKcmyk(0%, 50.6%, 33.5%, 1.6%)
CIE-LABlab(67.81, 52.77, 0.09)
CIE-LCHlch(67.81, 52.77, 0.10°)
OKLaboklab(74.33% 0.1604 0.0009)
OKLCHoklch(74.33% 0.16 0.3)
XYZxyz(53.9689, 37.7197, 40.9901)
Luminance0.3771 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CA7 #7CFBD0
analogous
#FB7CE6 #FB7CA7 #FB907C
triadic
#FB7CA7 #A7FB7C #7CA7FB
tetradic
#FB7CA7 #E6FB7C #7CFBD0 #907CFB
square
#FB7CA7 #E6FB7C #7CFBD0 #907CFB
split-complementary
#FB7CA7 #7CFB90 #7CE6FB
monochromatic
#F50758 #F9417F #FB7CA7 #FDB7CF #FEE1EB

Accessibility & contrast

On white

2.46
#FB7CA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#FB7CA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CA7
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CA7#FFFFFF#000000##000000
##FB7CA71.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9097A8
Deuteranopia (green-blind)
#B1AEA4
Tritanopia (blue-blind)
#FF728C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #fb7ca7;
/* rgb */ color: rgb(251, 124, 167);
/* oklch */ color: oklch(74.3% 0.160 0.3);
Tailwind
colors: {
  custom: {
    50: '#ffa5c1',
    500: '#fb7ca7',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ca7;
$custom-light: #ffa5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ca7",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 167
  },
  "hsl": {
    "h": 339.685,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74328,
    "c": 0.16038,
    "h": 0.3
  },
  "luminance": 0.37715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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