#F0538F#F0538F

#F0538F is a light, vivid pink. Relative luminance 0.267; OKLCH L 67.0% C 0.198 H 0.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#F0538F
RGBrgb(240, 83, 143)
HSLhsl(337, 84%, 63%)
HSVhsv(337, 65%, 94%)
CMYKcmyk(0%, 65.4%, 40.4%, 5.9%)
CIE-LABlab(58.70, 64.79, 0.38)
CIE-LCHlch(58.70, 64.80, 0.33°)
OKLaboklab(66.98% 0.1982 0.0017)
OKLCHoklch(66.98% 0.198 0.5)
XYZxyz(43.9894, 26.7002, 28.8184)
Luminance0.2670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0538F #53F0B4
analogous
#F053DD #F0538F #F06553
triadic
#F0538F #8FF053 #538FF0
tetradic
#F0538F #DDF053 #53F0B4 #6553F0
square
#F0538F #DDF053 #53F0B4 #6553F0
split-complementary
#F0538F #53F065 #53DDF0
monochromatic
#B91050 #EB1B6A #F0538F #F58BB4 #FAC4D8

Accessibility & contrast

On white

3.31
#F0538F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#F0538F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F0538F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0538F#FFFFFF#000000##000000
##F0538F1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#727A91
Deuteranopia (green-blind)
#9C988B
Tritanopia (blue-blind)
#FF416B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #f0538f;
/* rgb */ color: rgb(240, 83, 143);
/* oklch */ color: oklch(67.0% 0.198 0.5);
Tailwind
colors: {
  custom: {
    50: '#fa8caf',
    500: '#f0538f',
    950: '#000000',
  },
}
SCSS
$custom: #f0538f;
$custom-light: #fa8caf;
$custom-dark: #000000;
JSON
{
  "hex": "#f0538f",
  "rgb": {
    "r": 240,
    "g": 83,
    "b": 143
  },
  "hsl": {
    "h": 337.07,
    "s": 83.957,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66977,
    "c": 0.19825,
    "h": 0.5
  },
  "luminance": 0.26695
}

Semantic roles & 50–950 ramp

primary
#F0538F
secondary
#B3EBD6
accent
#E08D05
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F

Preview Lab

Preview with #F0538F

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

Preview Lab → · Contrast checker → · Palette generator →

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