#F07CBA#F07CBA

#F07CBA is a light, vivid pink. Relative luminance 0.365; OKLCH L 73.5% C 0.158 H 348.4°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#F07CBA
RGBrgb(240, 124, 186)
HSLhsl(328, 79%, 71%)
HSVhsv(328, 48%, 94%)
CMYKcmyk(0%, 48.3%, 22.5%, 5.9%)
CIE-LABlab(66.89, 51.66, -12.15)
CIE-LCHlch(66.89, 53.07, 346.77°)
OKLaboklab(73.52% 0.155 -0.0318)
OKLCHoklch(73.52% 0.158 348.4)
XYZxyz(52.0071, 36.4899, 50.7490)
Luminance0.3649 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CBA #7CF0B2
analogous
#EC7CF0 #F07CBA #F07C80
triadic
#F07CBA #BAF07C #7CBAF0
tetradic
#F07CBA #F0EC7C #7CF0B2 #7C80F0
square
#F07CBA #F0EC7C #7CF0B2 #7C80F0
split-complementary
#F07CBA #80F07C #7CF0EC
monochromatic
#D9197F #EA459D #F07CBA #F6B3D7 #FCE4F1

Accessibility & contrast

On white

2.53
#F07CBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#F07CBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CBA
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CBA#FFFFFF#000000##000000
##F07CBA1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8896BC
Deuteranopia (green-blind)
#A6AAB7
Tritanopia (blue-blind)
#FE7993
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f07cba;
/* rgb */ color: rgb(240, 124, 186);
/* oklch */ color: oklch(73.5% 0.158 348.4);
Tailwind
colors: {
  custom: {
    50: '#f7a5ce',
    500: '#f07cba',
    950: '#000000',
  },
}
SCSS
$custom: #f07cba;
$custom-light: #f7a5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cba",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 186
  },
  "hsl": {
    "h": 327.931,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73518,
    "c": 0.15818,
    "h": 348.4
  },
  "luminance": 0.36486
}

Semantic roles & 50–950 ramp

primary
#F07CBA
secondary
#D5F3E3
accent
#DC6C0A
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#180F13
muted
#867F82

Preview Lab

Preview with #F07CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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