#F045BF#F045BF

#F045BF is a light, highly saturated pink. Relative luminance 0.265; OKLCH L 67.4% C 0.238 H 341.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#F045BF
RGBrgb(240, 69, 191)
HSLhsl(317, 85%, 61%)
HSVhsv(317, 71%, 94%)
CMYKcmyk(0%, 71.3%, 20.4%, 5.9%)
CIE-LABlab(58.55, 75.35, -27.69)
CIE-LCHlch(58.55, 80.28, 339.82°)
OKLaboklab(67.42% 0.2259 -0.0744)
OKLCHoklch(67.42% 0.238 341.8)
XYZxyz(47.4688, 26.5479, 51.9044)
Luminance0.2654 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F045BF #45F076
analogous
#CB45F0 #F045BF #F04569
triadic
#F045BF #BFF045 #45BFF0
tetradic
#F045BF #F0CB45 #45F076 #4569F0
square
#F045BF #F0CB45 #45F076 #4569F0
split-complementary
#F045BF #69F045 #45F0CB
monochromatic
#AD0E7F #E512A9 #F045BF #F57ED2 #F9B6E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F045BF#FFFFFF#000000##000000
##F045BF1.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)
#547BC2
Deuteranopia (green-blind)
#8A97BB
Tritanopia (blue-blind)
#FF487D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #f045bf;
/* rgb */ color: rgb(240, 69, 191);
/* oklch */ color: oklch(67.4% 0.238 341.8);
Tailwind
colors: {
  custom: {
    50: '#f987d2',
    500: '#f045bf',
    950: '#000000',
  },
}
SCSS
$custom: #f045bf;
$custom-light: #f987d2;
$custom-dark: #000000;
JSON
{
  "hex": "#f045bf",
  "rgb": {
    "r": 240,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 317.193,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.67417,
    "c": 0.23782,
    "h": 341.8
  },
  "luminance": 0.26543
}

Semantic roles & 50–950 ramp

primary
#F045BF
secondary
#A8E9BB
accent
#E24304
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#180C14
muted
#867D82

Preview Lab

Preview with #F045BF

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

Preview Lab → · Contrast checker → · Palette generator →

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