#FB508E#FB508E

#FB508E is a light, highly saturated pink. Relative luminance 0.282; OKLCH L 68.3% C 0.211 H 2.4°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#FB508E
RGBrgb(251, 80, 142)
HSLhsl(338, 96%, 65%)
HSVhsv(338, 68%, 98%)
CMYKcmyk(0%, 68.1%, 43.4%, 1.6%)
CIE-LABlab(60.07, 68.99, 3.19)
CIE-LCHlch(60.07, 69.06, 2.64°)
OKLaboklab(68.33% 0.2111 0.009)
OKLCHoklch(68.33% 0.211 2.4)
XYZxyz(47.5384, 28.2055, 28.5268)
Luminance0.2820 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB508E #50FBBD
analogous
#FB50E3 #FB508E #FB6850
triadic
#FB508E #8EFB50 #508EFB
tetradic
#FB508E #E3FB50 #50FBBD #6850FB
square
#FB508E #E3FB50 #50FBBD #6850FB
split-complementary
#FB508E #50FB68 #50E3FB
monochromatic
#CC054D #FA1467 #FB508E #FC8CB5 #FEC8DB

Accessibility & contrast

On white

3.16
#FB508E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#FB508E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FB508E
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB508E#FFFFFF#000000##000000
##FB508E1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#747C90
Deuteranopia (green-blind)
#A29D8A
Tritanopia (blue-blind)
#FF3869
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #fb508e;
/* rgb */ color: rgb(251, 80, 142);
/* oklch */ color: oklch(68.3% 0.211 2.4);
Tailwind
colors: {
  custom: {
    50: '#ff8cae',
    500: '#fb508e',
    950: '#000000',
  },
}
SCSS
$custom: #fb508e;
$custom-light: #ff8cae;
$custom-dark: #000000;
JSON
{
  "hex": "#fb508e",
  "rgb": {
    "r": 251,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 338.246,
    "s": 95.531,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6833,
    "c": 0.2113,
    "h": 2.4
  },
  "luminance": 0.282
}

Semantic roles & 50–950 ramp

primary
#FB508E
secondary
#B6F1DB
accent
#E69200
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#190D10
muted
#877E7F

Preview Lab

Preview with #FB508E

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

Preview Lab → · Contrast checker → · Palette generator →

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