#F0528F#F0528F

#F0528F is a light, vivid pink. Relative luminance 0.265; OKLCH L 66.9% C 0.199 H 0.3°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#F0528F
RGBrgb(240, 82, 143)
HSLhsl(337, 84%, 63%)
HSVhsv(337, 66%, 94%)
CMYKcmyk(0%, 65.8%, 40.4%, 5.9%)
CIE-LABlab(58.55, 65.18, 0.17)
CIE-LCHlch(58.55, 65.18, 0.15°)
OKLaboklab(66.87% 0.1995 0.0012)
OKLCHoklch(66.87% 0.199 0.3)
XYZxyz(43.9134, 26.5483, 28.7931)
Luminance0.2654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0528F #52F0B3
analogous
#F052DE #F0528F #F06452
triadic
#F0528F #8FF052 #528FF0
tetradic
#F0528F #DEF052 #52F0B3 #6452F0
square
#F0528F #DEF052 #52F0B3 #6452F0
split-complementary
#F0528F #52F064 #52DEF0
monochromatic
#B81051 #EB1A6B #F0528F #F58AB3 #FAC3D8

Accessibility & contrast

On white

3.33
#F0528F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#F0528F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0528F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0528F#FFFFFF#000000##000000
##F0528F1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#717A91
Deuteranopia (green-blind)
#9B988B
Tritanopia (blue-blind)
#FF406B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #f0528f;
/* rgb */ color: rgb(240, 82, 143);
/* oklch */ color: oklch(66.9% 0.199 0.3);
Tailwind
colors: {
  custom: {
    50: '#fa8caf',
    500: '#f0528f',
    950: '#000000',
  },
}
SCSS
$custom: #f0528f;
$custom-light: #fa8caf;
$custom-dark: #000000;
JSON
{
  "hex": "#f0528f",
  "rgb": {
    "r": 240,
    "g": 82,
    "b": 143
  },
  "hsl": {
    "h": 336.835,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66872,
    "c": 0.19947,
    "h": 0.3
  },
  "luminance": 0.26543
}

Semantic roles & 50–950 ramp

primary
#F0528F
secondary
#B3EBD5
accent
#E08C05
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #F0528F

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

Preview Lab → · Contrast checker → · Palette generator →

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