#F07BC7#F07BC7

#F07BC7 is a light, vivid pink. Relative luminance 0.368; OKLCH L 73.8% C 0.168 H 342.4°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#F07BC7
RGBrgb(240, 123, 199)
HSLhsl(321, 80%, 71%)
HSVhsv(321, 49%, 94%)
CMYKcmyk(0%, 48.7%, 17.1%, 5.9%)
CIE-LABlab(67.14, 54.02, -19.08)
CIE-LCHlch(67.14, 57.29, 340.55°)
OKLaboklab(73.85% 0.16 -0.0508)
OKLCHoklch(73.85% 0.168 342.4)
XYZxyz(53.3278, 36.8187, 58.3197)
Luminance0.3681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BC7 #7BF0A4
analogous
#DF7BF0 #F07BC7 #F07B8C
triadic
#F07BC7 #C7F07B #7BC7F0
tetradic
#F07BC7 #F0DF7B #7BF0A4 #7B8CF0
square
#F07BC7 #F0DF7B #7BF0A4 #7B8CF0
split-complementary
#F07BC7 #8CF07B #7BF0DF
monochromatic
#D81995 #EA44B0 #F07BC7 #F6B2DE #FCE4F3

Accessibility & contrast

On white

2.51
#F07BC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#F07BC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BC7
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BC7#FFFFFF#000000##000000
##F07BC71.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8298CA
Deuteranopia (green-blind)
#A2AAC4
Tritanopia (blue-blind)
#FC7C98
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f07bc7;
/* rgb */ color: rgb(240, 123, 199);
/* oklch */ color: oklch(73.8% 0.168 342.4);
Tailwind
colors: {
  custom: {
    50: '#f7a5d8',
    500: '#f07bc7',
    950: '#000000',
  },
}
SCSS
$custom: #f07bc7;
$custom-light: #f7a5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bc7",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 321.026,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73848,
    "c": 0.16788,
    "h": 342.4
  },
  "luminance": 0.36815
}

Semantic roles & 50–950 ramp

primary
#F07BC7
secondary
#D4F3DF
accent
#DC530A
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #F07BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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