#F0528A#F0528A

#F0528A is a light, vivid pink. Relative luminance 0.264; OKLCH L 66.7% C 0.198 H 2.4°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#F0528A
RGBrgb(240, 82, 138)
HSLhsl(339, 84%, 63%)
HSVhsv(339, 66%, 94%)
CMYKcmyk(0%, 65.8%, 42.5%, 5.9%)
CIE-LABlab(58.41, 64.69, 2.90)
CIE-LCHlch(58.41, 64.76, 2.56°)
OKLaboklab(66.72% 0.1978 0.0082)
OKLCHoklch(66.72% 0.198 2.4)
XYZxyz(43.5430, 26.4001, 26.8426)
Luminance0.2640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0528A #52F0B8
analogous
#F052D9 #F0528A #F06952
triadic
#F0528A #8AF052 #528AF0
tetradic
#F0528A #D9F052 #52F0B8 #6952F0
square
#F0528A #D9F052 #52F0B8 #6952F0
split-complementary
#F0528A #52F069 #52D9F0
monochromatic
#B8104B #EB1A64 #F0528A #F58AB0 #FAC3D6

Accessibility & contrast

On white

3.34
#F0528A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#F0528A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0528A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0528A#FFFFFF#000000##000000
##F0528A1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#72798B
Deuteranopia (green-blind)
#9C9886
Tritanopia (blue-blind)
#FF3E68
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #f0528a;
/* rgb */ color: rgb(240, 82, 138);
/* oklch */ color: oklch(66.7% 0.198 2.4);
Tailwind
colors: {
  custom: {
    50: '#fa8cac',
    500: '#f0528a',
    950: '#000000',
  },
}
SCSS
$custom: #f0528a;
$custom-light: #fa8cac;
$custom-dark: #000000;
JSON
{
  "hex": "#f0528a",
  "rgb": {
    "r": 240,
    "g": 82,
    "b": 138
  },
  "hsl": {
    "h": 338.734,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66724,
    "c": 0.19799,
    "h": 2.4
  },
  "luminance": 0.26395
}

Semantic roles & 50–950 ramp

primary
#F0528A
secondary
#B3EBD7
accent
#E09305
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #F0528A

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

Preview Lab → · Contrast checker → · Palette generator →

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