#FB5FA1#FB5FA1

#FB5FA1 is a light, vivid pink. Relative luminance 0.313; OKLCH L 70.5% C 0.199 H 357.3°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#FB5FA1
RGBrgb(251, 95, 161)
HSLhsl(335, 95%, 68%)
HSVhsv(335, 62%, 98%)
CMYKcmyk(0%, 62.2%, 35.9%, 1.6%)
CIE-LABlab(62.74, 65.08, -3.93)
CIE-LCHlch(62.74, 65.20, 356.54°)
OKLaboklab(70.48% 0.1988 -0.0095)
OKLCHoklch(70.48% 0.199 357.3)
XYZxyz(50.3118, 31.2725, 37.0979)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB5FA1 #5FFBB9
analogous
#FB5FEF #FB5FA1 #FB6B5F
triadic
#FB5FA1 #A1FB5F #5FA1FB
tetradic
#FB5FA1 #EFFB5F #5FFBB9 #6B5FFB
square
#FB5FA1 #EFFB5F #5FFBB9 #6B5FFB
split-complementary
#FB5FA1 #5FFB6B #5FEFFB
monochromatic
#DA055F #FA237E #FB5FA1 #FC9BC4 #FED6E7

Accessibility & contrast

On white

2.90
#FB5FA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#FB5FA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB5FA1
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB5FA1#FFFFFF#000000##000000
##FB5FA11.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A85A3
Deuteranopia (green-blind)
#A4A39D
Tritanopia (blue-blind)
#FF5279
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #fb5fa1;
/* rgb */ color: rgb(251, 95, 161);
/* oklch */ color: oklch(70.5% 0.199 357.3);
Tailwind
colors: {
  custom: {
    50: '#ff94bc',
    500: '#fb5fa1',
    950: '#000000',
  },
}
SCSS
$custom: #fb5fa1;
$custom-light: #ff94bc;
$custom-dark: #000000;
JSON
{
  "hex": "#fb5fa1",
  "rgb": {
    "r": 251,
    "g": 95,
    "b": 161
  },
  "hsl": {
    "h": 334.615,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70479,
    "c": 0.19906,
    "h": 357.3
  },
  "luminance": 0.31267
}

Semantic roles & 50–950 ramp

primary
#FB5FA1
secondary
#C3F3DF
accent
#E68400
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#190E12
muted
#877E81

Preview Lab

Preview with #FB5FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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