#FB7CA6#FB7CA6

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

Color values

HEX#FB7CA6
RGBrgb(251, 124, 166)
HSLhsl(340, 94%, 74%)
HSVhsv(340, 51%, 98%)
CMYKcmyk(0%, 50.6%, 33.9%, 1.6%)
CIE-LABlab(67.79, 52.65, 0.62)
CIE-LCHlch(67.79, 52.66, 0.67°)
OKLaboklab(74.3% 0.16 0.0023)
OKLCHoklch(74.3% 0.16 0.8)
XYZxyz(53.8768, 37.6828, 40.5051)
Luminance0.3768 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CA6 #7CFBD1
analogous
#FB7CE6 #FB7CA6 #FB917C
triadic
#FB7CA6 #A6FB7C #7CA6FB
tetradic
#FB7CA6 #E6FB7C #7CFBD1 #917CFB
square
#FB7CA6 #E6FB7C #7CFBD1 #917CFB
split-complementary
#FB7CA6 #7CFB91 #7CE6FB
monochromatic
#F50756 #F9417E #FB7CA6 #FDB7CE #FEE1EB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB7CA6#FFFFFF#000000##000000
##FB7CA61.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)
#9096A7
Deuteranopia (green-blind)
#B1AEA3
Tritanopia (blue-blind)
#FF728B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #fb7ca6;
/* rgb */ color: rgb(251, 124, 166);
/* oklch */ color: oklch(74.3% 0.160 0.8);
Tailwind
colors: {
  custom: {
    50: '#ffa5c0',
    500: '#fb7ca6',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ca6;
$custom-light: #ffa5c0;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ca6",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 166
  },
  "hsl": {
    "h": 340.157,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74299,
    "c": 0.16006,
    "h": 0.8
  },
  "luminance": 0.37678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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