#F27ABA#F27ABA

#F27ABA is a light, vivid pink. Relative luminance 0.363; OKLCH L 73.5% C 0.163 H 348.7°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#F27ABA
RGBrgb(242, 122, 186)
HSLhsl(328, 82%, 71%)
HSVhsv(328, 50%, 95%)
CMYKcmyk(0%, 49.6%, 23.1%, 5.1%)
CIE-LABlab(66.78, 53.27, -12.29)
CIE-LCHlch(66.78, 54.67, 347.01°)
OKLaboklab(73.49% 0.16 -0.0321)
OKLCHoklch(73.49% 0.163 348.7)
XYZxyz(52.4419, 36.3458, 50.6983)
Luminance0.3634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27ABA #7AF2B2
analogous
#EE7AF2 #F27ABA #F27A7E
triadic
#F27ABA #BAF27A #7ABAF2
tetradic
#F27ABA #F2EE7A #7AF2B2 #7A7EF2
square
#F27ABA #F2EE7A #7AF2B2 #7A7EF2
split-complementary
#F27ABA #7EF27A #7AF2EE
monochromatic
#DC167F #ED429D #F27ABA #F7B2D7 #FCE3F1

Accessibility & contrast

On white

2.54
#F27ABA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#F27ABA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27ABA
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27ABA#FFFFFF#000000##000000
##F27ABA1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8696BC
Deuteranopia (green-blind)
#A6AAB7
Tritanopia (blue-blind)
#FF7792
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #f27aba;
/* rgb */ color: rgb(242, 122, 186);
/* oklch */ color: oklch(73.5% 0.163 348.7);
Tailwind
colors: {
  custom: {
    50: '#f9a4ce',
    500: '#f27aba',
    950: '#000000',
  },
}
SCSS
$custom: #f27aba;
$custom-light: #f9a4ce;
$custom-dark: #000000;
JSON
{
  "hex": "#f27aba",
  "rgb": {
    "r": 242,
    "g": 122,
    "b": 186
  },
  "hsl": {
    "h": 328,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73491,
    "c": 0.16319,
    "h": 348.7
  },
  "luminance": 0.36341
}

Semantic roles & 50–950 ramp

primary
#F27ABA
secondary
#D4F3E3
accent
#DF6C07
background
#FFFAFC
surface
#FFF4F9
border
#D7CED2
text
#180F13
muted
#867F82

Preview Lab

Preview with #F27ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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