#FB508C#FB508C

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

Color values

HEX#FB508C
RGBrgb(251, 80, 140)
HSLhsl(339, 96%, 65%)
HSVhsv(339, 68%, 98%)
CMYKcmyk(0%, 68.1%, 44.2%, 1.6%)
CIE-LABlab(60.02, 68.80, 4.28)
CIE-LCHlch(60.02, 68.94, 3.56°)
OKLaboklab(68.27% 0.2104 0.0118)
OKLCHoklch(68.27% 0.211 3.2)
XYZxyz(47.3896, 28.1460, 27.7431)
Luminance0.2814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB508C #50FBBF
analogous
#FB50E2 #FB508C #FB6950
triadic
#FB508C #8CFB50 #508CFB
tetradic
#FB508C #E2FB50 #50FBBF #6950FB
square
#FB508C #E2FB50 #50FBBF #6950FB
split-complementary
#FB508C #50FB69 #50E2FB
monochromatic
#CC054B #FA1465 #FB508C #FC8CB3 #FEC8DB

Accessibility & contrast

On white

3.17
#FB508C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#FB508C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FB508C
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB508C#FFFFFF#000000##000000
##FB508C1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#757B8D
Deuteranopia (green-blind)
#A29D88
Tritanopia (blue-blind)
#FF3768
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #fb508c;
/* rgb */ color: rgb(251, 80, 140);
/* oklch */ color: oklch(68.3% 0.211 3.2);
Tailwind
colors: {
  custom: {
    50: '#ff8cad',
    500: '#fb508c',
    950: '#000000',
  },
}
SCSS
$custom: #fb508c;
$custom-light: #ff8cad;
$custom-dark: #000000;
JSON
{
  "hex": "#fb508c",
  "rgb": {
    "r": 251,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 338.947,
    "s": 95.531,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68273,
    "c": 0.21077,
    "h": 3.2
  },
  "luminance": 0.2814
}

Semantic roles & 50–950 ramp

primary
#FB508C
secondary
#B6F1DC
accent
#E69500
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#190D10
muted
#877E7F

Preview Lab

Preview with #FB508C

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

Preview Lab → · Contrast checker → · Palette generator →

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