#F0538B#F0538B

#F0538B is a light, vivid pink. Relative luminance 0.266; OKLCH L 66.9% C 0.197 H 2.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#F0538B
RGBrgb(240, 83, 139)
HSLhsl(339, 84%, 63%)
HSVhsv(339, 65%, 94%)
CMYKcmyk(0%, 65.4%, 42.1%, 5.9%)
CIE-LABlab(58.58, 64.40, 2.56)
CIE-LCHlch(58.58, 64.45, 2.27°)
OKLaboklab(66.86% 0.1969 0.0074)
OKLCHoklch(66.86% 0.197 2.1)
XYZxyz(43.6917, 26.5812, 27.2509)
Luminance0.2658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0538B #53F0B8
analogous
#F053D9 #F0538B #F06953
triadic
#F0538B #8BF053 #538BF0
tetradic
#F0538B #D9F053 #53F0B8 #6953F0
square
#F0538B #D9F053 #53F0B8 #6953F0
split-complementary
#F0538B #53F069 #53D9F0
monochromatic
#B9104C #EB1B65 #F0538B #F58BB1 #FAC4D7

Accessibility & contrast

On white

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

On black

6.32
#F0538B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0538B
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0538B#FFFFFF#000000##000000
##F0538B1.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#737A8C
Deuteranopia (green-blind)
#9D9887
Tritanopia (blue-blind)
#FF3F69
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #f0538b;
/* rgb */ color: rgb(240, 83, 139);
/* oklch */ color: oklch(66.9% 0.197 2.1);
Tailwind
colors: {
  custom: {
    50: '#fa8cac',
    500: '#f0538b',
    950: '#000000',
  },
}
SCSS
$custom: #f0538b;
$custom-light: #fa8cac;
$custom-dark: #000000;
JSON
{
  "hex": "#f0538b",
  "rgb": {
    "r": 240,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 338.599,
    "s": 83.957,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66859,
    "c": 0.19705,
    "h": 2.1
  },
  "luminance": 0.26576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F0538B

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

Preview Lab → · Contrast checker → · Palette generator →

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