#F27FAC#F27FAC

#F27FAC is a light, vivid pink. Relative luminance 0.370; OKLCH L 73.7% C 0.148 H 356.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#F27FAC
RGBrgb(242, 127, 172)
HSLhsl(337, 82%, 72%)
HSVhsv(337, 48%, 95%)
CMYKcmyk(0%, 47.5%, 28.9%, 5.1%)
CIE-LABlab(67.31, 48.96, -3.61)
CIE-LCHlch(67.31, 49.09, 355.78°)
OKLaboklab(73.74% 0.1482 -0.0089)
OKLCHoklch(73.74% 0.148 356.6)
XYZxyz(51.6556, 37.0390, 43.4504)
Luminance0.3704 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27FAC #7FF2C5
analogous
#F27FE5 #F27FAC #F28C7F
triadic
#F27FAC #ACF27F #7FACF2
tetradic
#F27FAC #E5F27F #7FF2C5 #8C7FF2
square
#F27FAC #E5F27F #7FF2C5 #8C7FF2
split-complementary
#F27FAC #7FF28C #7FE5F2
monochromatic
#E01765 #EC4788 #F27FAC #F8B7D0 #FCE3ED

Accessibility & contrast

On white

2.50
#F27FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#F27FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27FAC
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27FAC#FFFFFF#000000##000000
##F27FAC1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F97AD
Deuteranopia (green-blind)
#ACACA9
Tritanopia (blue-blind)
#FF788F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #f27fac;
/* rgb */ color: rgb(242, 127, 172);
/* oklch */ color: oklch(73.7% 0.148 356.6);
Tailwind
colors: {
  custom: {
    50: '#f9a7c4',
    500: '#f27fac',
    950: '#000000',
  },
}
SCSS
$custom: #f27fac;
$custom-light: #f9a7c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f27fac",
  "rgb": {
    "r": 242,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 336.522,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73744,
    "c": 0.14849,
    "h": 356.6
  },
  "luminance": 0.37035
}

Semantic roles & 50–950 ramp

primary
#F27FAC
secondary
#D7F4E9
accent
#DE8A08
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#181012
muted
#867F81

Preview Lab

Preview with #F27FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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