#F07FCB#F07FCB

#F07FCB is a light, vivid pink. Relative luminance 0.380; OKLCH L 74.6% C 0.164 H 341.1°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#F07FCB
RGBrgb(240, 127, 203)
HSLhsl(320, 79%, 72%)
HSVhsv(320, 47%, 94%)
CMYKcmyk(0%, 47.1%, 15.4%, 5.9%)
CIE-LABlab(68.04, 52.67, -19.96)
CIE-LCHlch(68.04, 56.33, 339.25°)
OKLaboklab(74.56% 0.1553 -0.0532)
OKLCHoklch(74.56% 0.164 341.1)
XYZxyz(54.3047, 38.0197, 60.9666)
Luminance0.3802 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07FCB #7FF0A4
analogous
#DD7FF0 #F07FCB #F07F93
triadic
#F07FCB #CBF07F #7FCBF0
tetradic
#F07FCB #F0DD7F #7FF0A4 #7F93F0
square
#F07FCB #F0DD7F #7FF0A4 #7F93F0
split-complementary
#F07FCB #93F07F #7FF0DD
monochromatic
#DB1A9C #EA48B5 #F07FCB #F6B6E1 #FCE4F4

Accessibility & contrast

On white

2.44
#F07FCB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#F07FCB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07FCB
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07FCB#FFFFFF#000000##000000
##F07FCB1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#859BCE
Deuteranopia (green-blind)
#A3ACC8
Tritanopia (blue-blind)
#FC809C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f07fcb;
/* rgb */ color: rgb(240, 127, 203);
/* oklch */ color: oklch(74.6% 0.164 341.1);
Tailwind
colors: {
  custom: {
    50: '#f7a7db',
    500: '#f07fcb',
    950: '#000000',
  },
}
SCSS
$custom: #f07fcb;
$custom-light: #f7a7db;
$custom-dark: #000000;
JSON
{
  "hex": "#f07fcb",
  "rgb": {
    "r": 240,
    "g": 127,
    "b": 203
  },
  "hsl": {
    "h": 319.646,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74563,
    "c": 0.16414,
    "h": 341.1
  },
  "luminance": 0.38016
}

Semantic roles & 50–950 ramp

primary
#F07FCB
secondary
#D7F4E1
accent
#DB4F0A
background
#FFFAFD
surface
#FFF4FA
border
#D7CED3
text
#171015
muted
#857F83

Preview Lab

Preview with #F07FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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