#F07CB1#F07CB1

#F07CB1 is a light, vivid pink. Relative luminance 0.361; OKLCH L 73.2% C 0.153 H 352.8°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#F07CB1
RGBrgb(240, 124, 177)
HSLhsl(333, 79%, 71%)
HSVhsv(333, 48%, 94%)
CMYKcmyk(0%, 48.3%, 26.3%, 5.9%)
CIE-LABlab(66.61, 50.43, -7.49)
CIE-LCHlch(66.61, 50.99, 351.55°)
OKLaboklab(73.21% 0.1522 -0.0192)
OKLCHoklch(73.21% 0.153 352.8)
XYZxyz(51.0803, 36.1192, 45.8679)
Luminance0.3612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CB1 #7CF0BB
analogous
#F07CEB #F07CB1 #F0817C
triadic
#F07CB1 #B1F07C #7CB1F0
tetradic
#F07CB1 #EBF07C #7CF0BB #817CF0
square
#F07CB1 #EBF07C #7CF0BB #817CF0
split-complementary
#F07CB1 #7CF081 #7CEBF0
monochromatic
#D91971 #EA4590 #F07CB1 #F6B3D2 #FCE4EF

Accessibility & contrast

On white

2.55
#F07CB1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#F07CB1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CB1
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CB1#FFFFFF#000000##000000
##F07CB11.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A95B3
Deuteranopia (green-blind)
#A8AAAE
Tritanopia (blue-blind)
#FF7790
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f07cb1;
/* rgb */ color: rgb(240, 124, 177);
/* oklch */ color: oklch(73.2% 0.153 352.8);
Tailwind
colors: {
  custom: {
    50: '#f8a5c8',
    500: '#f07cb1',
    950: '#000000',
  },
}
SCSS
$custom: #f07cb1;
$custom-light: #f8a5c8;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cb1",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 177
  },
  "hsl": {
    "h": 332.586,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73214,
    "c": 0.15343,
    "h": 352.8
  },
  "luminance": 0.36115
}

Semantic roles & 50–950 ramp

primary
#F07CB1
secondary
#D5F3E5
accent
#DC7C0A
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F07CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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