#FB628F#FB628F

#FB628F is a light, vivid pink. Relative luminance 0.312; OKLCH L 70.3% C 0.190 H 5.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#FB628F
RGBrgb(251, 98, 143)
HSLhsl(342, 95%, 68%)
HSVhsv(342, 61%, 98%)
CMYKcmyk(0%, 61%, 43%, 1.6%)
CIE-LABlab(62.70, 61.98, 6.39)
CIE-LCHlch(62.70, 62.31, 5.89°)
OKLaboklab(70.29% 0.1889 0.0171)
OKLCHoklch(70.29% 0.19 5.2)
XYZxyz(49.1127, 31.2335, 29.4236)
Luminance0.3123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB628F #62FBCE
analogous
#FB62DB #FB628F #FB8162
triadic
#FB628F #8FFB62 #628FFB
tetradic
#FB628F #DBFB62 #62FBCE #8162FB
square
#FB628F #DBFB62 #62FBCE #8162FB
split-complementary
#FB628F #62FB81 #62DBFB
monochromatic
#DD0645 #F92664 #FB628F #FD9EBA #FED9E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FB628F#FFFFFF#000000##000000
##FB628F1.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)
#818590
Deuteranopia (green-blind)
#A9A38B
Tritanopia (blue-blind)
#FF4F73
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #fb628f;
/* rgb */ color: rgb(251, 98, 143);
/* oklch */ color: oklch(70.3% 0.190 5.2);
Tailwind
colors: {
  custom: {
    50: '#ff96af',
    500: '#fb628f',
    950: '#000000',
  },
}
SCSS
$custom: #fb628f;
$custom-light: #ff96af;
$custom-dark: #000000;
JSON
{
  "hex": "#fb628f",
  "rgb": {
    "r": 251,
    "g": 98,
    "b": 143
  },
  "hsl": {
    "h": 342.353,
    "s": 95.031,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70293,
    "c": 0.18971,
    "h": 5.2
  },
  "luminance": 0.31228
}

Semantic roles & 50–950 ramp

primary
#FB628F
secondary
#C5F3E6
accent
#E6A200
background
#FFF9FA
surface
#FFF2F4
border
#D7CCCE
text
#190E10
muted
#877E7F

Preview Lab

Preview with #FB628F

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

Preview Lab → · Contrast checker → · Palette generator →

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