#F07BAB#F07BAB

#F07BAB is a light, vivid pink. Relative luminance 0.356; OKLCH L 72.9% C 0.152 H 355.6°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#F07BAB
RGBrgb(240, 123, 171)
HSLhsl(335, 80%, 71%)
HSVhsv(335, 49%, 94%)
CMYKcmyk(0%, 48.7%, 28.8%, 5.9%)
CIE-LABlab(66.24, 50.14, -4.65)
CIE-LCHlch(66.24, 50.35, 354.70°)
OKLaboklab(72.88% 0.1518 -0.0116)
OKLCHoklch(72.88% 0.152 355.6)
XYZxyz(50.3707, 35.6358, 42.7457)
Luminance0.3563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07BAB #7BF0C0
analogous
#F07BE5 #F07BAB #F0857B
triadic
#F07BAB #ABF07B #7BABF0
tetradic
#F07BAB #E5F07B #7BF0C0 #857BF0
square
#F07BAB #E5F07B #7BF0C0 #857BF0
split-complementary
#F07BAB #7BF085 #7BE5F0
monochromatic
#D81967 #EA4488 #F07BAB #F6B2CE #FCE4EE

Accessibility & contrast

On white

2.58
#F07BAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#F07BAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07BAB
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07BAB#FFFFFF#000000##000000
##F07BAB1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B94AD
Deuteranopia (green-blind)
#A9A9A8
Tritanopia (blue-blind)
#FF748D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f07bab;
/* rgb */ color: rgb(240, 123, 171);
/* oklch */ color: oklch(72.9% 0.152 355.6);
Tailwind
colors: {
  custom: {
    50: '#f8a4c4',
    500: '#f07bab',
    950: '#000000',
  },
}
SCSS
$custom: #f07bab;
$custom-light: #f8a4c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f07bab",
  "rgb": {
    "r": 240,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 335.385,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72877,
    "c": 0.15224,
    "h": 355.6
  },
  "luminance": 0.35631
}

Semantic roles & 50–950 ramp

primary
#F07BAB
secondary
#D4F3E6
accent
#DC860A
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F12
muted
#867F81

Preview Lab

Preview with #F07BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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