#F071B2#F071B2

#F071B2 is a light, vivid pink. Relative luminance 0.336; OKLCH L 71.7% C 0.171 H 350.3°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#F071B2
RGBrgb(240, 113, 178)
HSLhsl(329, 81%, 69%)
HSVhsv(329, 53%, 94%)
CMYKcmyk(0%, 52.9%, 25.8%, 5.9%)
CIE-LABlab(64.61, 55.85, -11.05)
CIE-LCHlch(64.61, 56.94, 348.81°)
OKLaboklab(71.72% 0.1686 -0.0287)
OKLCHoklch(71.72% 0.171 350.3)
XYZxyz(49.8779, 33.5543, 45.9606)
Luminance0.3355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F071B2 #71F0AF
analogous
#EE71F0 #F071B2 #F07173
triadic
#F071B2 #B2F071 #71B2F0
tetradic
#F071B2 #F0EE71 #71F0AF #7173F0
square
#F071B2 #F0EE71 #71F0AF #7173F0
split-complementary
#F071B2 #73F071 #71F0EE
monochromatic
#D11676 #EA3A94 #F071B2 #F6A8D0 #FCE0EE

Accessibility & contrast

On white

2.72
#F071B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#F071B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F071B2
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F071B2#FFFFFF#000000##000000
##F071B21.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#808FB4
Deuteranopia (green-blind)
#A2A5AF
Tritanopia (blue-blind)
#FF6C8A
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #f071b2;
/* rgb */ color: rgb(240, 113, 178);
/* oklch */ color: oklch(71.7% 0.171 350.3);
Tailwind
colors: {
  custom: {
    50: '#f89ec9',
    500: '#f071b2',
    950: '#000000',
  },
}
SCSS
$custom: #f071b2;
$custom-light: #f89ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#f071b2",
  "rgb": {
    "r": 240,
    "g": 113,
    "b": 178
  },
  "hsl": {
    "h": 329.291,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71723,
    "c": 0.17104,
    "h": 350.3
  },
  "luminance": 0.3355
}

Semantic roles & 50–950 ramp

primary
#F071B2
secondary
#CCF1DE
accent
#DD7008
background
#FFFAFC
surface
#FFF3F8
border
#D7CDD1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F071B2

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

Preview Lab → · Contrast checker → · Palette generator →

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