#F0508C#F0508C

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

Color values

HEX#F0508C
RGBrgb(240, 80, 140)
HSLhsl(338, 84%, 63%)
HSVhsv(338, 67%, 94%)
CMYKcmyk(0%, 66.7%, 41.7%, 5.9%)
CIE-LABlab(58.19, 65.65, 1.40)
CIE-LCHlch(58.19, 65.67, 1.22°)
OKLaboklab(66.57% 0.2009 0.0044)
OKLCHoklch(66.57% 0.201 1.2)
XYZxyz(43.5405, 26.1613, 27.5626)
Luminance0.2616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0508C #50F0B4
analogous
#F050DC #F0508C #F06450
triadic
#F0508C #8CF050 #508CF0
tetradic
#F0508C #DCF050 #50F0B4 #6450F0
square
#F0508C #DCF050 #50F0B4 #6450F0
split-complementary
#F0508C #50F064 #50DCF0
monochromatic
#B6104E #EB1867 #F0508C #F588B1 #FAC1D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0508C#FFFFFF#000000##000000
##F0508C1.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)
#70788E
Deuteranopia (green-blind)
#9B9788
Tritanopia (blue-blind)
#FF3C68
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #f0508c;
/* rgb */ color: rgb(240, 80, 140);
/* oklch */ color: oklch(66.6% 0.201 1.2);
Tailwind
colors: {
  custom: {
    50: '#fa8bad',
    500: '#f0508c',
    950: '#000000',
  },
}
SCSS
$custom: #f0508c;
$custom-light: #fa8bad;
$custom-dark: #000000;
JSON
{
  "hex": "#f0508c",
  "rgb": {
    "r": 240,
    "g": 80,
    "b": 140
  },
  "hsl": {
    "h": 337.5,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66575,
    "c": 0.20097,
    "h": 1.2
  },
  "luminance": 0.26156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0508C

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

Preview Lab → · Contrast checker → · Palette generator →

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