#F07BD2#F07BD2

#F07BD2 is a light, vivid pink. Relative luminance 0.373; OKLCH L 74.3% C 0.176 H 337.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#F07BD2
RGBrgb(240, 123, 210)
HSLhsl(315, 80%, 71%)
HSVhsv(315, 49%, 94%)
CMYKcmyk(0%, 48.7%, 12.5%, 5.9%)
CIE-LABlab(67.54, 55.70, -24.62)
CIE-LCHlch(67.54, 60.90, 336.15°)
OKLaboklab(74.27% 0.1627 -0.0662)
OKLCHoklch(74.27% 0.176 337.9)
XYZxyz(54.6514, 37.3481, 65.2907)
Luminance0.3734 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BD2 #7BF099
analogous
#D47BF0 #F07BD2 #F07B97
triadic
#F07BD2 #D2F07B #7BD2F0
tetradic
#F07BD2 #F0D47B #7BF099 #7B97F0
square
#F07BD2 #F0D47B #7BF099 #7B97F0
split-complementary
#F07BD2 #97F07B #7BF0D4
monochromatic
#D819A7 #EA44BF #F07BD2 #F6B2E5 #FCE4F6

Accessibility & contrast

On white

2.48
#F07BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#F07BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BD2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BD2#FFFFFF#000000##000000
##F07BD21.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E99D5
Deuteranopia (green-blind)
#9EABCF
Tritanopia (blue-blind)
#FB7F9D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f07bd2;
/* rgb */ color: rgb(240, 123, 210);
/* oklch */ color: oklch(74.3% 0.176 337.9);
Tailwind
colors: {
  custom: {
    50: '#f7a5e0',
    500: '#f07bd2',
    950: '#000000',
  },
}
SCSS
$custom: #f07bd2;
$custom-light: #f7a5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bd2",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 315.385,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74274,
    "c": 0.17569,
    "h": 337.9
  },
  "luminance": 0.37344
}

Semantic roles & 50–950 ramp

primary
#F07BD2
secondary
#D4F3DC
accent
#DC400A
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#171015
muted
#857F83

Preview Lab

Preview with #F07BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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