#F045AB#F045AB

#F045AB is a light, highly saturated pink. Relative luminance 0.257; OKLCH L 66.6% C 0.227 H 348.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#F045AB
RGBrgb(240, 69, 171)
HSLhsl(324, 85%, 61%)
HSVhsv(324, 71%, 94%)
CMYKcmyk(0%, 71.3%, 28.8%, 5.9%)
CIE-LABlab(57.78, 72.89, -17.33)
CIE-LCHlch(57.78, 74.92, 346.62°)
OKLaboklab(66.6% 0.222 -0.0455)
OKLCHoklch(66.6% 0.227 348.4)
XYZxyz(45.4162, 25.7268, 41.0942)
Luminance0.2572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F045AB #45F08A
analogous
#E045F0 #F045AB #F04555
triadic
#F045AB #ABF045 #45ABF0
tetradic
#F045AB #F0E045 #45F08A #4555F0
square
#F045AB #F0E045 #45F08A #4555F0
split-complementary
#F045AB #55F045 #45F0E0
monochromatic
#AD0E6D #E51290 #F045AB #F57EC5 #F9B6DE

Accessibility & contrast

On white

3.42
#F045AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#F045AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F045AB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F045AB#FFFFFF#000000##000000
##F045AB1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E78AE
Deuteranopia (green-blind)
#9096A7
Tritanopia (blue-blind)
#FF3D72
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #f045ab;
/* rgb */ color: rgb(240, 69, 171);
/* oklch */ color: oklch(66.6% 0.227 348.4);
Tailwind
colors: {
  custom: {
    50: '#fa86c4',
    500: '#f045ab',
    950: '#000000',
  },
}
SCSS
$custom: #f045ab;
$custom-light: #fa86c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f045ab",
  "rgb": {
    "r": 240,
    "g": 69,
    "b": 171
  },
  "hsl": {
    "h": 324.211,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66597,
    "c": 0.22663,
    "h": 348.4
  },
  "luminance": 0.25722
}

Semantic roles & 50–950 ramp

primary
#F045AB
secondary
#A8E9C2
accent
#E25D04
background
#FFF8FC
surface
#FFF0F8
border
#D7CBD1
text
#180C12
muted
#867D81

Preview Lab

Preview with #F045AB

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

Preview Lab → · Contrast checker → · Palette generator →

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