#F0507E#F0507E

#F0507E is a light, vivid pink. Relative luminance 0.258; OKLCH L 66.2% C 0.198 H 6.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#F0507E
RGBrgb(240, 80, 126)
HSLhsl(343, 84%, 63%)
HSVhsv(343, 67%, 94%)
CMYKcmyk(0%, 66.7%, 47.5%, 5.9%)
CIE-LABlab(57.82, 64.36, 9.09)
CIE-LCHlch(57.82, 65.00, 8.04°)
OKLaboklab(66.18% 0.1961 0.0238)
OKLCHoklch(66.18% 0.198 6.9)
XYZxyz(42.5732, 25.7744, 22.4677)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0507E #50F0C2
analogous
#F050CE #F0507E #F07250
triadic
#F0507E #7EF050 #507EF0
tetradic
#F0507E #CEF050 #50F0C2 #7250F0
square
#F0507E #CEF050 #50F0C2 #7250F0
split-complementary
#F0507E #50F072 #50CEF0
monochromatic
#B6103F #EB1854 #F0507E #F588A8 #FAC1D1

Accessibility & contrast

On white

3.41
#F0507E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#F0507E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0507E
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0507E#FFFFFF#000000##000000
##F0507E1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#74777F
Deuteranopia (green-blind)
#9E977A
Tritanopia (blue-blind)
#FF3662
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f0507e;
/* rgb */ color: rgb(240, 80, 126);
/* oklch */ color: oklch(66.2% 0.198 6.9);
Tailwind
colors: {
  custom: {
    50: '#fb8ba3',
    500: '#f0507e',
    950: '#000000',
  },
}
SCSS
$custom: #f0507e;
$custom-light: #fb8ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#f0507e",
  "rgb": {
    "r": 240,
    "g": 80,
    "b": 126
  },
  "hsl": {
    "h": 342.75,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66182,
    "c": 0.19754,
    "h": 6.9
  },
  "luminance": 0.25769
}

Semantic roles & 50–950 ramp

primary
#F0507E
secondary
#B1EBDA
accent
#E1A105
background
#FFF8FA
surface
#FFF0F3
border
#D7CBCD
text
#190D0F
muted
#877D7F

Preview Lab

Preview with #F0507E

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

Preview Lab → · Contrast checker → · Palette generator →

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