#F27FA2#F27FA2

#F27FA2 is a light, vivid pink. Relative luminance 0.367; OKLCH L 73.4% C 0.145 H 1.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#F27FA2
RGBrgb(242, 127, 162)
HSLhsl(342, 82%, 72%)
HSVhsv(342, 48%, 95%)
CMYKcmyk(0%, 47.5%, 33.1%, 5.1%)
CIE-LABlab(67.03, 47.71, 1.63)
CIE-LCHlch(67.03, 47.73, 1.95°)
OKLaboklab(73.44% 0.1448 0.0049)
OKLCHoklch(73.44% 0.145 1.9)
XYZxyz(50.7312, 36.6692, 38.5815)
Luminance0.3666 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27FA2 #7FF2CF
analogous
#F27FDC #F27FA2 #F2967F
triadic
#F27FA2 #A2F27F #7FA2F2
tetradic
#F27FA2 #DCF27F #7FF2CF #967FF2
square
#F27FA2 #DCF27F #7FF2CF #967FF2
split-complementary
#F27FA2 #7FF296 #7FDCF2
monochromatic
#E01754 #EC477A #F27FA2 #F8B7CA #FCE3EB

Accessibility & contrast

On white

2.52
#F27FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#F27FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27FA2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27FA2#FFFFFF#000000##000000
##F27FA21.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9196A3
Deuteranopia (green-blind)
#AFAB9F
Tritanopia (blue-blind)
#FF768C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #f27fa2;
/* rgb */ color: rgb(242, 127, 162);
/* oklch */ color: oklch(73.4% 0.145 1.9);
Tailwind
colors: {
  custom: {
    50: '#f9a7bd',
    500: '#f27fa2',
    950: '#000000',
  },
}
SCSS
$custom: #f27fa2;
$custom-light: #f9a7bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f27fa2",
  "rgb": {
    "r": 242,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 341.739,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73442,
    "c": 0.14491,
    "h": 1.9
  },
  "luminance": 0.36665
}

Semantic roles & 50–950 ramp

primary
#F27FA2
secondary
#D7F4EB
accent
#DE9D08
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #F27FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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