#F270CB#F270CB

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

Color values

HEX#F270CB
RGBrgb(242, 112, 203)
HSLhsl(318, 83%, 69%)
HSVhsv(318, 54%, 95%)
CMYKcmyk(0%, 53.7%, 16.1%, 5.1%)
CIE-LABlab(65.58, 60.41, -23.68)
CIE-LCHlch(65.58, 64.89, 338.60°)
OKLaboklab(72.79% 0.1786 -0.0635)
OKLCHoklch(72.79% 0.19 340.4)
XYZxyz(53.1925, 34.7816, 60.4003)
Luminance0.3478 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270CB #70F297
analogous
#D870F2 #F270CB #F2708A
triadic
#F270CB #CBF270 #70CBF2
tetradic
#F270CB #F2D870 #70F297 #708AF2
square
#F270CB #F2D870 #70F297 #708AF2
split-complementary
#F270CB #8AF270 #70F2D8
monochromatic
#D4139A #ED38B7 #F270CB #F7A8DF #FCE0F4

Accessibility & contrast

On white

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

On black

7.96
#F270CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270CB
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270CB#FFFFFF#000000##000000
##F270CB1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7792CE
Deuteranopia (green-blind)
#9BA7C8
Tritanopia (blue-blind)
#FF7294
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f270cb;
/* rgb */ color: rgb(242, 112, 203);
/* oklch */ color: oklch(72.8% 0.190 340.4);
Tailwind
colors: {
  custom: {
    50: '#f99edb',
    500: '#f270cb',
    950: '#000000',
  },
}
SCSS
$custom: #f270cb;
$custom-light: #f99edb;
$custom-dark: #000000;
JSON
{
  "hex": "#f270cb",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 318,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72787,
    "c": 0.1895,
    "h": 340.4
  },
  "luminance": 0.34777
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F270CB

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

Preview Lab → · Contrast checker → · Palette generator →

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