#F07BCC#F07BCC

#F07BCC is a light, vivid pink. Relative luminance 0.371; OKLCH L 74.0% C 0.171 H 340.3°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#F07BCC
RGBrgb(240, 123, 204)
HSLhsl(318, 80%, 71%)
HSVhsv(318, 49%, 94%)
CMYKcmyk(0%, 48.7%, 15%, 5.9%)
CIE-LABlab(67.32, 54.78, -21.61)
CIE-LCHlch(67.32, 58.88, 338.47°)
OKLaboklab(74.04% 0.1613 -0.0578)
OKLCHoklch(74.04% 0.171 340.3)
XYZxyz(53.9179, 37.0547, 61.4275)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BCC #7BF09F
analogous
#DA7BF0 #F07BCC #F07B91
triadic
#F07BCC #CCF07B #7BCCF0
tetradic
#F07BCC #F0DA7B #7BF09F #7B91F0
square
#F07BCC #F0DA7B #7BF09F #7B91F0
split-complementary
#F07BCC #91F07B #7BF0DA
monochromatic
#D8199D #EA44B7 #F07BCC #F6B2E1 #FCE4F4

Accessibility & contrast

On white

2.50
#F07BCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#F07BCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BCC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BCC#FFFFFF#000000##000000
##F07BCC1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098CF
Deuteranopia (green-blind)
#A0ABC9
Tritanopia (blue-blind)
#FC7D9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f07bcc;
/* rgb */ color: rgb(240, 123, 204);
/* oklch */ color: oklch(74.0% 0.171 340.3);
Tailwind
colors: {
  custom: {
    50: '#f7a5db',
    500: '#f07bcc',
    950: '#000000',
  },
}
SCSS
$custom: #f07bcc;
$custom-light: #f7a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bcc",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 204
  },
  "hsl": {
    "h": 318.462,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74039,
    "c": 0.17133,
    "h": 340.3
  },
  "luminance": 0.37051
}

Semantic roles & 50–950 ramp

primary
#F07BCC
secondary
#D4F3DD
accent
#DC4A0A
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #F07BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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