#F07CDB#F07CDB

#F07CDB is a light, vivid pink. Relative luminance 0.381; OKLCH L 74.8% C 0.181 H 334.5°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#F07CDB
RGBrgb(240, 124, 219)
HSLhsl(311, 79%, 71%)
HSVhsv(311, 48%, 94%)
CMYKcmyk(0%, 48.3%, 8.8%, 5.9%)
CIE-LABlab(68.06, 56.65, -28.82)
CIE-LCHlch(68.06, 63.56, 333.03°)
OKLaboklab(74.78% 0.1633 -0.078)
OKLCHoklch(74.78% 0.181 334.5)
XYZxyz(55.9290, 38.0587, 71.4043)
Luminance0.3805 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F07CDB #7CF091
analogous
#CB7CF0 #F07CDB #F07CA1
triadic
#F07CDB #DBF07C #7CDBF0
tetradic
#F07CDB #F0CB7C #7CF091 #7CA1F0
square
#F07CDB #F0CB7C #7CF091 #7CA1F0
split-complementary
#F07CDB #A1F07C #7CF0CB
monochromatic
#D919B6 #EA45CC #F07CDB #F6B3EA #FCE4F7

Accessibility & contrast

On white

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

On black

8.61
#F07CDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F07CDB
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F07CDB#FFFFFF#000000##000000
##F07CDB1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9BDE
Deuteranopia (green-blind)
#9CACD8
Tritanopia (blue-blind)
#FA82A1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f07cdb;
/* rgb */ color: rgb(240, 124, 219);
/* oklch */ color: oklch(74.8% 0.181 334.5);
Tailwind
colors: {
  custom: {
    50: '#f7a6e6',
    500: '#f07cdb',
    950: '#000000',
  },
}
SCSS
$custom: #f07cdb;
$custom-light: #f7a6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f07cdb",
  "rgb": {
    "r": 240,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 310.862,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74779,
    "c": 0.181,
    "h": 334.5
  },
  "luminance": 0.38055
}

Semantic roles & 50–950 ramp

primary
#F07CDB
secondary
#D5F3DA
accent
#DC300A
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#171016
muted
#857F84

Preview Lab

Preview with #F07CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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