#F07BD4#F07BD4

#F07BD4 is a light, vivid pink. Relative luminance 0.374; OKLCH L 74.4% C 0.177 H 337.1°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#F07BD4
RGBrgb(240, 123, 212)
HSLhsl(314, 80%, 71%)
HSVhsv(314, 49%, 94%)
CMYKcmyk(0%, 48.7%, 11.7%, 5.9%)
CIE-LABlab(67.61, 56.01, -25.62)
CIE-LCHlch(67.61, 61.59, 335.42°)
OKLaboklab(74.36% 0.1632 -0.069)
OKLCHoklch(74.36% 0.177 337.1)
XYZxyz(54.9021, 37.4484, 66.6111)
Luminance0.3745 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BD4 #7BF097
analogous
#D17BF0 #F07BD4 #F07B99
triadic
#F07BD4 #D4F07B #7BD4F0
tetradic
#F07BD4 #F0D17B #7BF097 #7B99F0
square
#F07BD4 #F0D17B #7BF097 #7B99F0
split-complementary
#F07BD4 #99F07B #7BF0D1
monochromatic
#D819AA #EA44C2 #F07BD4 #F6B2E6 #FCE4F6

Accessibility & contrast

On white

2.47
#F07BD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#F07BD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BD4
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BD4#FFFFFF#000000##000000
##F07BD41.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D99D7
Deuteranopia (green-blind)
#9EABD1
Tritanopia (blue-blind)
#FB7F9E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #f07bd4;
/* rgb */ color: rgb(240, 123, 212);
/* oklch */ color: oklch(74.4% 0.177 337.1);
Tailwind
colors: {
  custom: {
    50: '#f7a5e1',
    500: '#f07bd4',
    950: '#000000',
  },
}
SCSS
$custom: #f07bd4;
$custom-light: #f7a5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bd4",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 212
  },
  "hsl": {
    "h": 314.359,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74355,
    "c": 0.17719,
    "h": 337.1
  },
  "luminance": 0.37445
}

Semantic roles & 50–950 ramp

primary
#F07BD4
secondary
#D4F3DB
accent
#DC3C0A
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F07BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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