#F0508A#F0508A

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

Color values

HEX#F0508A
RGBrgb(240, 80, 138)
HSLhsl(338, 84%, 63%)
HSVhsv(338, 67%, 94%)
CMYKcmyk(0%, 66.7%, 42.5%, 5.9%)
CIE-LABlab(58.13, 65.46, 2.49)
CIE-LCHlch(58.13, 65.51, 2.18°)
OKLaboklab(66.52% 0.2003 0.0072)
OKLCHoklch(66.52% 0.2 2.1)
XYZxyz(43.3944, 26.1029, 26.7930)
Luminance0.2610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0508A #50F0B6
analogous
#F050DA #F0508A #F06650
triadic
#F0508A #8AF050 #508AF0
tetradic
#F0508A #DAF050 #50F0B6 #6650F0
square
#F0508A #DAF050 #50F0B6 #6650F0
split-complementary
#F0508A #50F066 #50DAF0
monochromatic
#B6104C #EB1864 #F0508A #F588B0 #FAC1D5

Accessibility & contrast

On white

3.38
#F0508A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#F0508A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0508A
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0508A#FFFFFF#000000##000000
##F0508A1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#71788B
Deuteranopia (green-blind)
#9C9786
Tritanopia (blue-blind)
#FF3B67
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #f0508a;
/* rgb */ color: rgb(240, 80, 138);
/* oklch */ color: oklch(66.5% 0.200 2.1);
Tailwind
colors: {
  custom: {
    50: '#fa8bac',
    500: '#f0508a',
    950: '#000000',
  },
}
SCSS
$custom: #f0508a;
$custom-light: #fa8bac;
$custom-dark: #000000;
JSON
{
  "hex": "#f0508a",
  "rgb": {
    "r": 240,
    "g": 80,
    "b": 138
  },
  "hsl": {
    "h": 338.25,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66516,
    "c": 0.20039,
    "h": 2.1
  },
  "luminance": 0.26098
}

Semantic roles & 50–950 ramp

primary
#F0508A
secondary
#B1EBD6
accent
#E19105
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #F0508A

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

Preview Lab → · Contrast checker → · Palette generator →

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