#FB7DA2#FB7DA2

#FB7DA2 is a light, vivid pink. Relative luminance 0.378; OKLCH L 74.3% C 0.157 H 3.1°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#FB7DA2
RGBrgb(251, 125, 162)
HSLhsl(342, 94%, 74%)
HSVhsv(342, 50%, 98%)
CMYKcmyk(0%, 50.2%, 35.5%, 1.6%)
CIE-LABlab(67.87, 51.71, 2.99)
CIE-LCHlch(67.87, 51.79, 3.31°)
OKLaboklab(74.32% 0.1572 0.0084)
OKLCHoklch(74.32% 0.157 3.1)
XYZxyz(53.6416, 37.7902, 38.6446)
Luminance0.3779 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7DA2 #7DFBD6
analogous
#FB7DE1 #FB7DA2 #FB977D
triadic
#FB7DA2 #A2FB7D #7DA2FB
tetradic
#FB7DA2 #E1FB7D #7DFBD6 #977DFB
square
#FB7DA2 #E1FB7D #7DFBD6 #977DFB
split-complementary
#FB7DA2 #7DFB97 #7DE1FB
monochromatic
#F6084E #F94278 #FB7DA2 #FDB8CC #FEE1EA

Accessibility & contrast

On white

2.45
#FB7DA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#FB7DA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7DA2
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7DA2#FFFFFF#000000##000000
##FB7DA21.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9297A3
Deuteranopia (green-blind)
#B3AE9F
Tritanopia (blue-blind)
#FF728A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #fb7da2;
/* rgb */ color: rgb(251, 125, 162);
/* oklch */ color: oklch(74.3% 0.157 3.1);
Tailwind
colors: {
  custom: {
    50: '#ffa6bd',
    500: '#fb7da2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7da2;
$custom-light: #ffa6bd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7da2",
  "rgb": {
    "r": 251,
    "g": 125,
    "b": 162
  },
  "hsl": {
    "h": 342.381,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74323,
    "c": 0.15741,
    "h": 3.1
  },
  "luminance": 0.37785
}

Semantic roles & 50–950 ramp

primary
#FB7DA2
secondary
#D5F6EC
accent
#E6A200
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #FB7DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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