#F07CAB#F07CAB

#F07CAB is a light, vivid pink. Relative luminance 0.359; OKLCH L 73.0% C 0.151 H 355.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#F07CAB
RGBrgb(240, 124, 171)
HSLhsl(336, 79%, 71%)
HSVhsv(336, 48%, 94%)
CMYKcmyk(0%, 48.3%, 28.8%, 5.9%)
CIE-LABlab(66.43, 49.65, -4.37)
CIE-LCHlch(66.43, 49.84, 354.97°)
OKLaboklab(73.02% 0.1503 -0.0109)
OKLCHoklch(73.02% 0.151 355.9)
XYZxyz(50.4954, 35.8852, 42.7873)
Luminance0.3588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CAB #7CF0C1
analogous
#F07CE5 #F07CAB #F0877C
triadic
#F07CAB #ABF07C #7CABF0
tetradic
#F07CAB #E5F07C #7CF0C1 #877CF0
square
#F07CAB #E5F07C #7CF0C1 #877CF0
split-complementary
#F07CAB #7CF087 #7CE5F0
monochromatic
#D91967 #EA4588 #F07CAB #F6B3CE #FCE4ED

Accessibility & contrast

On white

2.57
#F07CAB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#F07CAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CAB
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CAB#FFFFFF#000000##000000
##F07CAB1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C95AD
Deuteranopia (green-blind)
#AAA9A8
Tritanopia (blue-blind)
#FF758D
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f07cab;
/* rgb */ color: rgb(240, 124, 171);
/* oklch */ color: oklch(73.0% 0.151 355.9);
Tailwind
colors: {
  custom: {
    50: '#f8a5c4',
    500: '#f07cab',
    950: '#000000',
  },
}
SCSS
$custom: #f07cab;
$custom-light: #f8a5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cab",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 171
  },
  "hsl": {
    "h": 335.69,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73021,
    "c": 0.15069,
    "h": 355.9
  },
  "luminance": 0.35881
}

Semantic roles & 50–950 ramp

primary
#F07CAB
secondary
#D5F3E7
accent
#DC870A
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F12
muted
#867F81

Preview Lab

Preview with #F07CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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