#F27CB2#F27CB2

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

Color values

HEX#F27CB2
RGBrgb(242, 124, 178)
HSLhsl(333, 82%, 72%)
HSVhsv(333, 49%, 95%)
CMYKcmyk(0%, 48.8%, 26.4%, 5.1%)
CIE-LABlab(66.91, 51.21, -7.59)
CIE-LCHlch(66.91, 51.77, 351.57°)
OKLaboklab(73.5% 0.1546 -0.0194)
OKLCHoklch(73.5% 0.156 352.8)
XYZxyz(51.8632, 36.5113, 46.4267)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27CB2 #7CF2BC
analogous
#F27CED #F27CB2 #F2817C
triadic
#F27CB2 #B2F27C #7CB2F2
tetradic
#F27CB2 #EDF27C #7CF2BC #817CF2
square
#F27CB2 #EDF27C #7CF2BC #817CF2
split-complementary
#F27CB2 #7CF281 #7CEDF2
monochromatic
#DE1671 #EC4491 #F27CB2 #F8B4D3 #FCE3EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F27CB2#FFFFFF#000000##000000
##F27CB21.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)
#8B96B4
Deuteranopia (green-blind)
#A9ABAF
Tritanopia (blue-blind)
#FF7790
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f27cb2;
/* rgb */ color: rgb(242, 124, 178);
/* oklch */ color: oklch(73.5% 0.156 352.8);
Tailwind
colors: {
  custom: {
    50: '#f9a5c9',
    500: '#f27cb2',
    950: '#000000',
  },
}
SCSS
$custom: #f27cb2;
$custom-light: #f9a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#f27cb2",
  "rgb": {
    "r": 242,
    "g": 124,
    "b": 178
  },
  "hsl": {
    "h": 332.542,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73503,
    "c": 0.15586,
    "h": 352.8
  },
  "luminance": 0.36507
}

Semantic roles & 50–950 ramp

primary
#F27CB2
secondary
#D6F4E6
accent
#DE7C07
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F13
muted
#867F82

Preview Lab

Preview with #F27CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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