#F0508E#F0508E

#F0508E is a light, highly saturated pink. Relative luminance 0.262; OKLCH L 66.6% C 0.202 H 0.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#F0508E
RGBrgb(240, 80, 142)
HSLhsl(337, 84%, 63%)
HSVhsv(337, 67%, 94%)
CMYKcmyk(0%, 66.7%, 40.8%, 5.9%)
CIE-LABlab(58.25, 65.85, 0.31)
CIE-LCHlch(58.25, 65.85, 0.27°)
OKLaboklab(66.64% 0.2016 0.0016)
OKLCHoklch(66.64% 0.202 0.4)
XYZxyz(43.6894, 26.2209, 28.3464)
Luminance0.2622 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0508E #50F0B2
analogous
#F050DE #F0508E #F06250
triadic
#F0508E #8EF050 #508EF0
tetradic
#F0508E #DEF050 #50F0B2 #6250F0
square
#F0508E #DEF050 #50F0B2 #6250F0
split-complementary
#F0508E #50F062 #50DEF0
monochromatic
#B61050 #EB186A #F0508E #F588B2 #FAC1D7

Accessibility & contrast

On white

3.36
#F0508E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#F0508E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0508E
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0508E#FFFFFF#000000##000000
##F0508E1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#707990
Deuteranopia (green-blind)
#9B978A
Tritanopia (blue-blind)
#FF3D69
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #f0508e;
/* rgb */ color: rgb(240, 80, 142);
/* oklch */ color: oklch(66.6% 0.202 0.4);
Tailwind
colors: {
  custom: {
    50: '#fa8bae',
    500: '#f0508e',
    950: '#000000',
  },
}
SCSS
$custom: #f0508e;
$custom-light: #fa8bae;
$custom-dark: #000000;
JSON
{
  "hex": "#f0508e",
  "rgb": {
    "r": 240,
    "g": 80,
    "b": 142
  },
  "hsl": {
    "h": 336.75,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66635,
    "c": 0.20159,
    "h": 0.4
  },
  "luminance": 0.26216
}

Semantic roles & 50–950 ramp

primary
#F0508E
secondary
#B1EBD4
accent
#E18B05
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #F0508E

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

Preview Lab → · Contrast checker → · Palette generator →

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