#F07BCA#F07BCA

#F07BCA is a light, vivid pink. Relative luminance 0.370; OKLCH L 74.0% C 0.170 H 341.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#F07BCA
RGBrgb(240, 123, 202)
HSLhsl(319, 80%, 71%)
HSVhsv(319, 49%, 94%)
CMYKcmyk(0%, 48.7%, 15.8%, 5.9%)
CIE-LABlab(67.25, 54.47, -20.60)
CIE-LCHlch(67.25, 58.24, 339.29°)
OKLaboklab(73.96% 0.1608 -0.055)
OKLCHoklch(73.96% 0.17 341.1)
XYZxyz(53.6796, 36.9594, 60.1723)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BCA #7BF0A1
analogous
#DB7BF0 #F07BCA #F07B8F
triadic
#F07BCA #CAF07B #7BCAF0
tetradic
#F07BCA #F0DB7B #7BF0A1 #7B8FF0
square
#F07BCA #F0DB7B #7BF0A1 #7B8FF0
split-complementary
#F07BCA #8FF07B #7BF0DB
monochromatic
#D8199A #EA44B4 #F07BCA #F6B2E0 #FCE4F4

Accessibility & contrast

On white

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

On black

8.39
#F07BCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BCA
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BCA#FFFFFF#000000##000000
##F07BCA1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8198CD
Deuteranopia (green-blind)
#A1ABC7
Tritanopia (blue-blind)
#FC7C99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f07bca;
/* rgb */ color: rgb(240, 123, 202);
/* oklch */ color: oklch(74.0% 0.170 341.1);
Tailwind
colors: {
  custom: {
    50: '#f7a5da',
    500: '#f07bca',
    950: '#000000',
  },
}
SCSS
$custom: #f07bca;
$custom-light: #f7a5da;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bca",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 319.487,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73962,
    "c": 0.16993,
    "h": 341.1
  },
  "luminance": 0.36955
}

Semantic roles & 50–950 ramp

primary
#F07BCA
secondary
#D4F3DE
accent
#DC4E0A
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#170F14
muted
#857F83

Preview Lab

Preview with #F07BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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