#F045CB#F045CB

#F045CB is a light, highly saturated pink. Relative luminance 0.271; OKLCH L 68.0% C 0.245 H 338.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#F045CB
RGBrgb(240, 69, 203)
HSLhsl(313, 85%, 61%)
HSVhsv(313, 71%, 94%)
CMYKcmyk(0%, 71.3%, 15.4%, 5.9%)
CIE-LABlab(59.06, 76.94, -33.77)
CIE-LCHlch(59.06, 84.02, 336.30°)
OKLaboklab(67.96% 0.2276 -0.0916)
OKLCHoklch(67.96% 0.245 338.1)
XYZxyz(48.8438, 27.0979, 59.1463)
Luminance0.2709 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F045CB #45F06A
analogous
#BF45F0 #F045CB #F04576
triadic
#F045CB #CBF045 #45CBF0
tetradic
#F045CB #F0BF45 #45F06A #4576F0
square
#F045CB #F0BF45 #45F06A #4576F0
split-complementary
#F045CB #76F045 #45F0BF
monochromatic
#AD0E8A #E512B8 #F045CB #F57EDB #F9B6EB

Accessibility & contrast

On white

3.27
#F045CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#F045CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F045CB
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F045CB#FFFFFF#000000##000000
##F045CB1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCF
Deuteranopia (green-blind)
#8598C7
Tritanopia (blue-blind)
#FD4E83
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #f045cb;
/* rgb */ color: rgb(240, 69, 203);
/* oklch */ color: oklch(68.0% 0.245 338.1);
Tailwind
colors: {
  custom: {
    50: '#f987db',
    500: '#f045cb',
    950: '#000000',
  },
}
SCSS
$custom: #f045cb;
$custom-light: #f987db;
$custom-dark: #000000;
JSON
{
  "hex": "#f045cb",
  "rgb": {
    "r": 240,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 312.982,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.67955,
    "c": 0.24531,
    "h": 338.1
  },
  "luminance": 0.27093
}

Semantic roles & 50–950 ramp

primary
#F045CB
secondary
#A8E9B6
accent
#E23404
background
#FFF8FD
surface
#FFF0FB
border
#D7CBD4
text
#180D15
muted
#867D83

Preview Lab

Preview with #F045CB

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

Preview Lab → · Contrast checker → · Palette generator →

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