#F27FDB#F27FDB

#F27FDB is a light, vivid pink. Relative luminance 0.392; OKLCH L 75.4% C 0.178 H 335.2°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#F27FDB
RGBrgb(242, 127, 219)
HSLhsl(312, 82%, 72%)
HSVhsv(312, 48%, 95%)
CMYKcmyk(0%, 47.5%, 9.5%, 5.1%)
CIE-LABlab(68.88, 55.78, -27.55)
CIE-LCHlch(68.88, 62.21, 333.72°)
OKLaboklab(75.44% 0.1613 -0.0744)
OKLCHoklch(75.44% 0.178 335.2)
XYZxyz(56.9936, 39.1741, 71.5636)
Luminance0.3917 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27FDB #7FF296
analogous
#D07FF2 #F27FDB #F27FA2
triadic
#F27FDB #DBF27F #7FDBF2
tetradic
#F27FDB #F2D07F #7FF296 #7FA2F2
square
#F27FDB #F2D07F #7FF296 #7FA2F2
split-complementary
#F27FDB #A2F27F #7FF2D0
monochromatic
#E017B8 #EC47CB #F27FDB #F8B7EB #FCE3F7

Accessibility & contrast

On white

2.38
#F27FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#F27FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27FDB
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27FDB#FFFFFF#000000##000000
##F27FDB1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9DDE
Deuteranopia (green-blind)
#9FAED8
Tritanopia (blue-blind)
#FC84A3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #f27fdb;
/* rgb */ color: rgb(242, 127, 219);
/* oklch */ color: oklch(75.4% 0.178 335.2);
Tailwind
colors: {
  custom: {
    50: '#f8a7e6',
    500: '#f27fdb',
    950: '#000000',
  },
}
SCSS
$custom: #f27fdb;
$custom-light: #f8a7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#f27fdb",
  "rgb": {
    "r": 242,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 312,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75438,
    "c": 0.17761,
    "h": 335.2
  },
  "luminance": 0.3917
}

Semantic roles & 50–950 ramp

primary
#F27FDB
secondary
#D7F4DD
accent
#DE3208
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #F27FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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