#FB7BA2#FB7BA2

#FB7BA2 is a light, vivid pink. Relative luminance 0.373; OKLCH L 74.0% C 0.160 H 2.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#FB7BA2
RGBrgb(251, 123, 162)
HSLhsl(342, 94%, 73%)
HSVhsv(342, 51%, 98%)
CMYKcmyk(0%, 51%, 35.5%, 1.6%)
CIE-LABlab(67.49, 52.67, 2.45)
CIE-LCHlch(67.49, 52.73, 2.67°)
OKLaboklab(74.04% 0.1601 0.0071)
OKLCHoklch(74.04% 0.16 2.5)
XYZxyz(53.3909, 37.2890, 38.5611)
Luminance0.3728 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BA2 #7BFBD4
analogous
#FB7BE2 #FB7BA2 #FB947B
triadic
#FB7BA2 #A2FB7B #7BA2FB
tetradic
#FB7BA2 #E2FB7B #7BFBD4 #947BFB
square
#FB7BA2 #E2FB7B #7BFBD4 #947BFB
split-complementary
#FB7BA2 #7BFB94 #7BE2FB
monochromatic
#F40750 #F94078 #FB7BA2 #FDB6CC #FEE1EA

Accessibility & contrast

On white

2.48
#FB7BA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#FB7BA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BA2
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BA2#FFFFFF#000000##000000
##FB7BA21.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9195A3
Deuteranopia (green-blind)
#B2AD9F
Tritanopia (blue-blind)
#FF7089
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #fb7ba2;
/* rgb */ color: rgb(251, 123, 162);
/* oklch */ color: oklch(74.0% 0.160 2.5);
Tailwind
colors: {
  custom: {
    50: '#ffa5bd',
    500: '#fb7ba2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ba2;
$custom-light: #ffa5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ba2",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 341.719,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74043,
    "c": 0.16031,
    "h": 2.5
  },
  "luminance": 0.37284
}

Semantic roles & 50–950 ramp

primary
#FB7BA2
secondary
#D5F6EC
accent
#E6A000
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F12
muted
#867F81

Preview Lab

Preview with #FB7BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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