#F07BA2#F07BA2

#F07BA2 is a light, vivid pink. Relative luminance 0.353; OKLCH L 72.6% C 0.149 H 0.3°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#F07BA2
RGBrgb(240, 123, 162)
HSLhsl(340, 80%, 71%)
HSVhsv(340, 49%, 94%)
CMYKcmyk(0%, 48.7%, 32.5%, 5.9%)
CIE-LABlab(65.98, 49.01, 0.07)
CIE-LCHlch(65.98, 49.01, 0.09°)
OKLaboklab(72.6% 0.1488 0.0008)
OKLCHoklch(72.6% 0.149 0.3)
XYZxyz(49.5419, 35.3043, 38.3807)
Luminance0.3530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BA2 #7BF0C9
analogous
#F07BDC #F07BA2 #F08E7B
triadic
#F07BA2 #A2F07B #7BA2F0
tetradic
#F07BA2 #DCF07B #7BF0C9 #8E7BF0
square
#F07BA2 #DCF07B #7BF0C9 #8E7BF0
split-complementary
#F07BA2 #7BF08E #7BDCF0
monochromatic
#D81958 #EA447B #F07BA2 #F6B2C9 #FCE4EC

Accessibility & contrast

On white

2.61
#F07BA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#F07BA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BA2
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BA2#FFFFFF#000000##000000
##F07BA21.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D93A3
Deuteranopia (green-blind)
#ABA99F
Tritanopia (blue-blind)
#FF7289
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f07ba2;
/* rgb */ color: rgb(240, 123, 162);
/* oklch */ color: oklch(72.6% 0.149 0.3);
Tailwind
colors: {
  custom: {
    50: '#f8a4bd',
    500: '#f07ba2',
    950: '#000000',
  },
}
SCSS
$custom: #f07ba2;
$custom-light: #f8a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f07ba2",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 340,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.726,
    "c": 0.14879,
    "h": 0.3
  },
  "luminance": 0.353
}

Semantic roles & 50–950 ramp

primary
#F07BA2
secondary
#D4F3E9
accent
#DC960A
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F07BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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