#FB7A9E#FB7A9E

#FB7A9E is a light, vivid pink. Relative luminance 0.369; OKLCH L 73.8% C 0.161 H 4.2°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#FB7A9E
RGBrgb(251, 122, 158)
HSLhsl(343, 94%, 73%)
HSVhsv(343, 51%, 98%)
CMYKcmyk(0%, 51.4%, 37.1%, 1.6%)
CIE-LABlab(67.20, 52.69, 4.30)
CIE-LCHlch(67.20, 52.87, 4.66°)
OKLaboklab(73.79% 0.1602 0.0118)
OKLCHoklch(73.79% 0.161 4.2)
XYZxyz(52.9176, 36.9022, 36.6771)
Luminance0.3690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7A9E #7AFBD7
analogous
#FB7ADE #FB7A9E #FB967A
triadic
#FB7A9E #9EFB7A #7A9EFB
tetradic
#FB7A9E #DEFB7A #7AFBD7 #967AFB
square
#FB7A9E #DEFB7A #7AFBD7 #967AFB
split-complementary
#FB7A9E #7AFB96 #7ADEFB
monochromatic
#F30749 #F93F73 #FB7A9E #FDB5C9 #FEE1E9

Accessibility & contrast

On white

2.51
#FB7A9E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#FB7A9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7A9E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7A9E#FFFFFF#000000##000000
##FB7A9E1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91949F
Deuteranopia (green-blind)
#B2AD9B
Tritanopia (blue-blind)
#FF6E87
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #fb7a9e;
/* rgb */ color: rgb(251, 122, 158);
/* oklch */ color: oklch(73.8% 0.161 4.2);
Tailwind
colors: {
  custom: {
    50: '#ffa4ba',
    500: '#fb7a9e',
    950: '#000000',
  },
}
SCSS
$custom: #fb7a9e;
$custom-light: #ffa4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7a9e",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 158
  },
  "hsl": {
    "h": 343.256,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7379,
    "c": 0.16067,
    "h": 4.2
  },
  "luminance": 0.36897
}

Semantic roles & 50–950 ramp

primary
#FB7A9E
secondary
#D5F6ED
accent
#E6A500
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F11
muted
#867F80

Preview Lab

Preview with #FB7A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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