#F27BA7#F27BA7

#F27BA7 is a light, vivid pink. Relative luminance 0.358; OKLCH L 73.0% C 0.153 H 358.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#F27BA7
RGBrgb(242, 123, 167)
HSLhsl(338, 82%, 72%)
HSVhsv(338, 49%, 95%)
CMYKcmyk(0%, 49.2%, 31%, 5.1%)
CIE-LABlab(66.40, 50.29, -2.13)
CIE-LCHlch(66.40, 50.33, 357.58°)
OKLaboklab(73.01% 0.1526 -0.0049)
OKLCHoklch(73.01% 0.153 358.1)
XYZxyz(50.6781, 35.8377, 40.8001)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27BA7 #7BF2C6
analogous
#F27BE3 #F27BA7 #F28B7B
triadic
#F27BA7 #A7F27B #7BA7F2
tetradic
#F27BA7 #E3F27B #7BF2C6 #8B7BF2
square
#F27BA7 #E3F27B #7BF2C6 #8B7BF2
split-complementary
#F27BA7 #7BF28B #7BE3F2
monochromatic
#DD165F #ED4382 #F27BA7 #F7B3CC #FCE3EC

Accessibility & contrast

On white

2.57
#F27BA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#F27BA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27BA7
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27BA7#FFFFFF#000000##000000
##F27BA71.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D94A8
Deuteranopia (green-blind)
#ABAAA4
Tritanopia (blue-blind)
#FF738B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f27ba7;
/* rgb */ color: rgb(242, 123, 167);
/* oklch */ color: oklch(73.0% 0.153 358.1);
Tailwind
colors: {
  custom: {
    50: '#f9a4c1',
    500: '#f27ba7',
    950: '#000000',
  },
}
SCSS
$custom: #f27ba7;
$custom-light: #f9a4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#f27ba7",
  "rgb": {
    "r": 242,
    "g": 123,
    "b": 167
  },
  "hsl": {
    "h": 337.815,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73011,
    "c": 0.15265,
    "h": 358.1
  },
  "luminance": 0.35833
}

Semantic roles & 50–950 ramp

primary
#F27BA7
secondary
#D5F4E8
accent
#DE8F07
background
#FFFAFB
surface
#FFF4F7
border
#D7CED0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F27BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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