#F27BA2#F27BA2

#F27BA2 is a light, vivid pink. Relative luminance 0.357; OKLCH L 72.9% C 0.151 H 0.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#F27BA2
RGBrgb(242, 123, 162)
HSLhsl(340, 82%, 72%)
HSVhsv(340, 49%, 95%)
CMYKcmyk(0%, 49.2%, 33.1%, 5.1%)
CIE-LABlab(66.26, 49.68, 0.50)
CIE-LCHlch(66.26, 49.68, 0.58°)
OKLaboklab(72.86% 0.1509 0.002)
OKLCHoklch(72.86% 0.151 0.7)
XYZxyz(50.2248, 35.6564, 38.4127)
Luminance0.3565 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F27BA2 #7BF2CB
analogous
#F27BDE #F27BA2 #F2907B
triadic
#F27BA2 #A2F27B #7BA2F2
tetradic
#F27BA2 #DEF27B #7BF2CB #907BF2
square
#F27BA2 #DEF27B #7BF2CB #907BF2
split-complementary
#F27BA2 #7BF290 #7BDEF2
monochromatic
#DD1657 #ED437B #F27BA2 #F7B3C9 #FCE3EB

Accessibility & contrast

On white

2.58
#F27BA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#F27BA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F27BA2
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F27BA2#FFFFFF#000000##000000
##F27BA21.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E93A3
Deuteranopia (green-blind)
#ACA99F
Tritanopia (blue-blind)
#FF7289
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #f27ba2;
/* rgb */ color: rgb(242, 123, 162);
/* oklch */ color: oklch(72.9% 0.151 0.7);
Tailwind
colors: {
  custom: {
    50: '#f9a4bd',
    500: '#f27ba2',
    950: '#000000',
  },
}
SCSS
$custom: #f27ba2;
$custom-light: #f9a4bd;
$custom-dark: #000000;
JSON
{
  "hex": "#f27ba2",
  "rgb": {
    "r": 242,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 340.336,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.7286,
    "c": 0.15089,
    "h": 0.7
  },
  "luminance": 0.35652
}

Semantic roles & 50–950 ramp

primary
#F27BA2
secondary
#D5F4EA
accent
#DE9807
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#180F12
muted
#867F81

Preview Lab

Preview with #F27BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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