#F274AB#F274AB

#F274AB is a light, vivid pink. Relative luminance 0.343; OKLCH L 72.2% C 0.165 H 354.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#F274AB
RGBrgb(242, 116, 171)
HSLhsl(334, 83%, 70%)
HSVhsv(334, 52%, 95%)
CMYKcmyk(0%, 52.1%, 29.3%, 5.1%)
CIE-LABlab(65.21, 54.16, -6.14)
CIE-LCHlch(65.21, 54.51, 353.53°)
OKLaboklab(72.16% 0.1642 -0.0155)
OKLCHoklch(72.16% 0.165 354.6)
XYZxyz(50.2161, 34.3129, 42.4986)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F274AB #74F2BB
analogous
#F274EA #F274AB #F27C74
triadic
#F274AB #ABF274 #74ABF2
tetradic
#F274AB #EAF274 #74F2BB #7C74F2
square
#F274AB #EAF274 #74F2BB #7C74F2
split-complementary
#F274AB #74F27C #74EAF2
monochromatic
#D71469 #ED3C89 #F274AB #F7ACCD #FCE3EE

Accessibility & contrast

On white

2.67
#F274AB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#F274AB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F274AB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F274AB#FFFFFF#000000##000000
##F274AB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8590AD
Deuteranopia (green-blind)
#A6A7A8
Tritanopia (blue-blind)
#FF6D89
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #f274ab;
/* rgb */ color: rgb(242, 116, 171);
/* oklch */ color: oklch(72.2% 0.165 354.6);
Tailwind
colors: {
  custom: {
    50: '#f9a0c4',
    500: '#f274ab',
    950: '#000000',
  },
}
SCSS
$custom: #f274ab;
$custom-light: #f9a0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#f274ab",
  "rgb": {
    "r": 242,
    "g": 116,
    "b": 171
  },
  "hsl": {
    "h": 333.81,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72159,
    "c": 0.16494,
    "h": 354.6
  },
  "luminance": 0.34308
}

Semantic roles & 50–950 ramp

primary
#F274AB
secondary
#CFF2E3
accent
#DF8106
background
#FFFAFC
surface
#FFF4F8
border
#D7CED1
text
#180F12
muted
#867F81

Preview Lab

Preview with #F274AB

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

Preview Lab → · Contrast checker → · Palette generator →

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