#FB7DA8#FB7DA8

#FB7DA8 is a light, vivid pink. Relative luminance 0.380; OKLCH L 74.5% C 0.159 H 0.1°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#FB7DA8
RGBrgb(251, 125, 168)
HSLhsl(340, 94%, 74%)
HSVhsv(340, 50%, 98%)
CMYKcmyk(0%, 50.2%, 33.1%, 1.6%)
CIE-LABlab(68.03, 52.41, -0.16)
CIE-LCHlch(68.03, 52.41, 359.83°)
OKLaboklab(74.5% 0.1592 0.0003)
OKLCHoklch(74.5% 0.159 0.1)
XYZxyz(54.1877, 38.0087, 41.5208)
Luminance0.3800 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7DA8 #7DFBD0
analogous
#FB7DE7 #FB7DA8 #FB917D
triadic
#FB7DA8 #A8FB7D #7DA8FB
tetradic
#FB7DA8 #E7FB7D #7DFBD0 #917DFB
square
#FB7DA8 #E7FB7D #7DFBD0 #917DFB
split-complementary
#FB7DA8 #7DFB91 #7DE7FB
monochromatic
#F60859 #F94280 #FB7DA8 #FDB8D0 #FEE1EB

Accessibility & contrast

On white

2.44
#FB7DA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#FB7DA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7DA8
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7DA8#FFFFFF#000000##000000
##FB7DA81.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9197A9
Deuteranopia (green-blind)
#B1AFA5
Tritanopia (blue-blind)
#FF748D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #fb7da8;
/* rgb */ color: rgb(251, 125, 168);
/* oklch */ color: oklch(74.5% 0.159 0.1);
Tailwind
colors: {
  custom: {
    50: '#ffa6c1',
    500: '#fb7da8',
    950: '#000000',
  },
}
SCSS
$custom: #fb7da8;
$custom-light: #ffa6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7da8",
  "rgb": {
    "r": 251,
    "g": 125,
    "b": 168
  },
  "hsl": {
    "h": 339.524,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74498,
    "c": 0.15923,
    "h": 0.1
  },
  "luminance": 0.38004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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