#F0508F#F0508F

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

Color values

HEX#F0508F
RGBrgb(240, 80, 143)
HSLhsl(336, 84%, 63%)
HSVhsv(336, 67%, 94%)
CMYKcmyk(0%, 66.7%, 40.4%, 5.9%)
CIE-LABlab(58.27, 65.95, -0.24)
CIE-LCHlch(58.27, 65.95, 359.79°)
OKLaboklab(66.67% 0.2019 0.0002)
OKLCHoklch(66.67% 0.202 0)
XYZxyz(43.7648, 26.2510, 28.7435)
Luminance0.2625 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0508F #50F0B1
analogous
#F050DF #F0508F #F06150
triadic
#F0508F #8FF050 #508FF0
tetradic
#F0508F #DFF050 #50F0B1 #6150F0
square
#F0508F #DFF050 #50F0B1 #6150F0
split-complementary
#F0508F #50F061 #50DFF0
monochromatic
#B61051 #EB186B #F0508F #F588B3 #FAC1D7

Accessibility & contrast

On white

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

On black

6.25
#F0508F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0508F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0508F#FFFFFF#000000##000000
##F0508F1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#707991
Deuteranopia (green-blind)
#9B978B
Tritanopia (blue-blind)
#FF3D6A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #f0508f;
/* rgb */ color: rgb(240, 80, 143);
/* oklch */ color: oklch(66.7% 0.202 0.0);
Tailwind
colors: {
  custom: {
    50: '#fa8baf',
    500: '#f0508f',
    950: '#000000',
  },
}
SCSS
$custom: #f0508f;
$custom-light: #fa8baf;
$custom-dark: #000000;
JSON
{
  "hex": "#f0508f",
  "rgb": {
    "r": 240,
    "g": 80,
    "b": 143
  },
  "hsl": {
    "h": 336.375,
    "s": 84.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66666,
    "c": 0.20191,
    "h": 0
  },
  "luminance": 0.26246
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0508F

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

Preview Lab → · Contrast checker → · Palette generator →

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