#F27FD3#F27FD3

#F27FD3 is a light, vivid pink. Relative luminance 0.388; OKLCH L 75.1% C 0.172 H 338.4°. Best body text is #000000 at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#F27FD3
RGBrgb(242, 127, 211)
HSLhsl(316, 82%, 72%)
HSVhsv(316, 48%, 95%)
CMYKcmyk(0%, 47.5%, 12.8%, 5.1%)
CIE-LABlab(68.58, 54.51, -23.56)
CIE-LCHlch(68.58, 59.39, 336.62°)
OKLaboklab(75.12% 0.1594 -0.0633)
OKLCHoklch(75.12% 0.172 338.4)
XYZxyz(55.9656, 38.7630, 66.1497)
Luminance0.3876 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27FD3 #7FF29E
analogous
#D87FF2 #F27FD3 #F27F9A
triadic
#F27FD3 #D3F27F #7FD3F2
tetradic
#F27FD3 #F2D87F #7FF29E #7F9AF2
square
#F27FD3 #F2D87F #7FF29E #7F9AF2
split-complementary
#F27FD3 #9AF27F #7FF2D8
monochromatic
#E017AA #EC47C0 #F27FD3 #F8B7E6 #FCE3F5

Accessibility & contrast

On white

2.40
#F27FD3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.75
#F27FD3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27FD3
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27FD3#FFFFFF#000000##000000
##F27FD31.002.408.758.75
#FFFFFF2.401.0021.0021.00
#0000008.7521.001.001.00
##0000008.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#839CD6
Deuteranopia (green-blind)
#A2AED0
Tritanopia (blue-blind)
#FD829F
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #f27fd3;
/* rgb */ color: rgb(242, 127, 211);
/* oklch */ color: oklch(75.1% 0.172 338.4);
Tailwind
colors: {
  custom: {
    50: '#f8a7e0',
    500: '#f27fd3',
    950: '#000000',
  },
}
SCSS
$custom: #f27fd3;
$custom-light: #f8a7e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f27fd3",
  "rgb": {
    "r": 242,
    "g": 127,
    "b": 211
  },
  "hsl": {
    "h": 316.174,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75118,
    "c": 0.17151,
    "h": 338.4
  },
  "luminance": 0.38759
}

Semantic roles & 50–950 ramp

primary
#F27FD3
secondary
#D7F4DF
accent
#DE4108
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #F27FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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