#F27CD4#F27CD4

#F27CD4 is a light, vivid pink. Relative luminance 0.380; OKLCH L 74.7% C 0.177 H 337.8°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#F27CD4
RGBrgb(242, 124, 212)
HSLhsl(315, 82%, 72%)
HSVhsv(315, 49%, 95%)
CMYKcmyk(0%, 48.8%, 12.4%, 5.1%)
CIE-LABlab(68.06, 56.12, -24.92)
CIE-LCHlch(68.06, 61.41, 336.06°)
OKLaboklab(74.74% 0.1639 -0.067)
OKLCHoklch(74.74% 0.177 337.8)
XYZxyz(55.7097, 38.0499, 66.6847)
Luminance0.3805 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27CD4 #7CF29A
analogous
#D57CF2 #F27CD4 #F27C99
triadic
#F27CD4 #D4F27C #7CD4F2
tetradic
#F27CD4 #F2D57C #7CF29A #7C99F2
square
#F27CD4 #F2D57C #7CF29A #7C99F2
split-complementary
#F27CD4 #99F27C #7CF2D5
monochromatic
#DE16AB #EC44C2 #F27CD4 #F8B4E6 #FCE3F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F27CD4#FFFFFF#000000##000000
##F27CD41.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)
#7F9BD7
Deuteranopia (green-blind)
#A0ADD1
Tritanopia (blue-blind)
#FD809E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #f27cd4;
/* rgb */ color: rgb(242, 124, 212);
/* oklch */ color: oklch(74.7% 0.177 337.8);
Tailwind
colors: {
  custom: {
    50: '#f9a6e1',
    500: '#f27cd4',
    950: '#000000',
  },
}
SCSS
$custom: #f27cd4;
$custom-light: #f9a6e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f27cd4",
  "rgb": {
    "r": 242,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 315.254,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7474,
    "c": 0.17709,
    "h": 337.8
  },
  "luminance": 0.38046
}

Semantic roles & 50–950 ramp

primary
#F27CD4
secondary
#D6F4DE
accent
#DE3E07
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #F27CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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