#F0508B#F0508B

#F0508B is a light, highly saturated pink. Relative luminance 0.261; OKLCH L 66.5% C 0.201 H 1.7°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#F0508B
RGBrgb(240, 80, 139)
HSLhsl(338, 84%, 63%)
HSVhsv(338, 67%, 94%)
CMYKcmyk(0%, 66.7%, 42.1%, 5.9%)
CIE-LABlab(58.16, 65.56, 1.94)
CIE-LCHlch(58.16, 65.59, 1.70°)
OKLaboklab(66.55% 0.2006 0.0058)
OKLCHoklch(66.55% 0.201 1.7)
XYZxyz(43.4672, 26.1320, 27.1761)
Luminance0.2613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0508B #50F0B5
analogous
#F050DB #F0508B #F06550
triadic
#F0508B #8BF050 #508BF0
tetradic
#F0508B #DBF050 #50F0B5 #6550F0
square
#F0508B #DBF050 #50F0B5 #6550F0
split-complementary
#F0508B #50F065 #50DBF0
monochromatic
#B6104D #EB1866 #F0508B #F588B0 #FAC1D6

Accessibility & contrast

On white

3.37
#F0508B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#F0508B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0508B
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0508B#FFFFFF#000000##000000
##F0508B1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#71788D
Deuteranopia (green-blind)
#9C9787
Tritanopia (blue-blind)
#FF3B68
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #f0508b;
/* rgb */ color: rgb(240, 80, 139);
/* oklch */ color: oklch(66.5% 0.201 1.7);
Tailwind
colors: {
  custom: {
    50: '#fa8bac',
    500: '#f0508b',
    950: '#000000',
  },
}
SCSS
$custom: #f0508b;
$custom-light: #fa8bac;
$custom-dark: #000000;
JSON
{
  "hex": "#f0508b",
  "rgb": {
    "r": 240,
    "g": 80,
    "b": 139
  },
  "hsl": {
    "h": 337.875,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66546,
    "c": 0.20067,
    "h": 1.7
  },
  "luminance": 0.26127
}

Semantic roles & 50–950 ramp

primary
#F0508B
secondary
#B1EBD5
accent
#E19005
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #F0508B

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

Preview Lab → · Contrast checker → · Palette generator →

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