#F270CC#F270CC

#F270CC is a light, vivid pink. Relative luminance 0.348; OKLCH L 72.8% C 0.190 H 340.1°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#F270CC
RGBrgb(242, 112, 204)
HSLhsl(318, 83%, 69%)
HSVhsv(318, 54%, 95%)
CMYKcmyk(0%, 53.7%, 15.7%, 5.1%)
CIE-LABlab(65.62, 60.56, -24.18)
CIE-LCHlch(65.62, 65.21, 338.23°)
OKLaboklab(72.83% 0.1788 -0.0649)
OKLCHoklch(72.83% 0.19 340.1)
XYZxyz(53.3121, 34.8294, 61.0299)
Luminance0.3483 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270CC #70F296
analogous
#D770F2 #F270CC #F2708B
triadic
#F270CC #CCF270 #70CCF2
tetradic
#F270CC #F2D770 #70F296 #708BF2
square
#F270CC #F2D770 #70F296 #708BF2
split-complementary
#F270CC #8BF270 #70F2D7
monochromatic
#D4139C #ED38B8 #F270CC #F7A8E0 #FCE0F4

Accessibility & contrast

On white

2.64
#F270CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#F270CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270CC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270CC#FFFFFF#000000##000000
##F270CC1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7692CF
Deuteranopia (green-blind)
#9BA7C9
Tritanopia (blue-blind)
#FE7395
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f270cc;
/* rgb */ color: rgb(242, 112, 204);
/* oklch */ color: oklch(72.8% 0.190 340.1);
Tailwind
colors: {
  custom: {
    50: '#f99edb',
    500: '#f270cc',
    950: '#000000',
  },
}
SCSS
$custom: #f270cc;
$custom-light: #f99edb;
$custom-dark: #000000;
JSON
{
  "hex": "#f270cc",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 204
  },
  "hsl": {
    "h": 317.538,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72827,
    "c": 0.19019,
    "h": 340.1
  },
  "luminance": 0.34825
}

Semantic roles & 50–950 ramp

primary
#F270CC
secondary
#CCF2D7
accent
#E04506
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F270CC

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

Preview Lab → · Contrast checker → · Palette generator →

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