#F07CB2#F07CB2

#F07CB2 is a light, vivid pink. Relative luminance 0.362; OKLCH L 73.2% C 0.154 H 352.3°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#F07CB2
RGBrgb(240, 124, 178)
HSLhsl(332, 79%, 71%)
HSVhsv(332, 48%, 94%)
CMYKcmyk(0%, 48.3%, 25.8%, 5.9%)
CIE-LABlab(66.64, 50.57, -8.01)
CIE-LCHlch(66.64, 51.20, 350.99°)
OKLaboklab(73.25% 0.1525 -0.0206)
OKLCHoklch(73.25% 0.154 352.3)
XYZxyz(51.1804, 36.1592, 46.3947)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CB2 #7CF0BA
analogous
#F07CEC #F07CB2 #F0807C
triadic
#F07CB2 #B2F07C #7CB2F0
tetradic
#F07CB2 #ECF07C #7CF0BA #807CF0
square
#F07CB2 #ECF07C #7CF0BA #807CF0
split-complementary
#F07CB2 #7CF080 #7CECF0
monochromatic
#D91972 #EA4592 #F07CB2 #F6B3D2 #FCE4EF

Accessibility & contrast

On white

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

On black

8.23
#F07CB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CB2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CB2#FFFFFF#000000##000000
##F07CB21.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f07cb2;
/* rgb */ color: rgb(240, 124, 178);
/* oklch */ color: oklch(73.2% 0.154 352.3);
Tailwind
colors: {
  custom: {
    50: '#f8a5c9',
    500: '#f07cb2',
    950: '#000000',
  },
}
SCSS
$custom: #f07cb2;
$custom-light: #f8a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cb2",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 332.069,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73247,
    "c": 0.15391,
    "h": 352.3
  },
  "luminance": 0.36155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F07CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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