#FB7ACC#FB7ACC

#FB7ACC is a light, vivid pink. Relative luminance 0.388; OKLCH L 75.3% C 0.182 H 343.4°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#FB7ACC
RGBrgb(251, 122, 204)
HSLhsl(322, 94%, 73%)
HSVhsv(322, 51%, 98%)
CMYKcmyk(0%, 51.4%, 18.7%, 1.6%)
CIE-LABlab(68.60, 58.57, -19.52)
CIE-LCHlch(68.60, 61.74, 341.57°)
OKLaboklab(75.3% 0.1743 -0.0519)
OKLCHoklch(75.3% 0.182 343.4)
XYZxyz(57.6435, 38.7925, 61.5668)
Luminance0.3879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7ACC #7AFBA9
analogous
#E97AFB #FB7ACC #FB7A8B
triadic
#FB7ACC #CCFB7A #7ACCFB
tetradic
#FB7ACC #FBE97A #7AFBA9 #7A8BFB
square
#FB7ACC #FBE97A #7AFBA9 #7A8BFB
split-complementary
#FB7ACC #8BFB7A #7AFBE9
monochromatic
#F3079D #F93FB5 #FB7ACC #FDB5E3 #FEE1F4

Accessibility & contrast

On white

2.40
#FB7ACC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#FB7ACC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7ACC
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7ACC#FFFFFF#000000##000000
##FB7ACC1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#839ACF
Deuteranopia (green-blind)
#A7AFC9
Tritanopia (blue-blind)
#FF7A9A
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #fb7acc;
/* rgb */ color: rgb(251, 122, 204);
/* oklch */ color: oklch(75.3% 0.182 343.4);
Tailwind
colors: {
  custom: {
    50: '#ffa5db',
    500: '#fb7acc',
    950: '#000000',
  },
}
SCSS
$custom: #fb7acc;
$custom-light: #ffa5db;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7acc",
  "rgb": {
    "r": 251,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 321.86,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75296,
    "c": 0.18184,
    "h": 343.4
  },
  "luminance": 0.38788
}

Semantic roles & 50–950 ramp

primary
#FB7ACC
secondary
#D5F6E1
accent
#E65400
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #FB7ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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