#F270CD#F270CD

#F270CD is a light, vivid pink. Relative luminance 0.349; OKLCH L 72.9% C 0.191 H 339.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#F270CD
RGBrgb(242, 112, 205)
HSLhsl(317, 83%, 69%)
HSVhsv(317, 54%, 95%)
CMYKcmyk(0%, 53.7%, 15.3%, 5.1%)
CIE-LABlab(65.65, 60.71, -24.69)
CIE-LCHlch(65.65, 65.53, 337.87°)
OKLaboklab(72.87% 0.179 -0.0663)
OKLCHoklch(72.87% 0.191 339.7)
XYZxyz(53.4324, 34.8775, 61.6636)
Luminance0.3487 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270CD #70F295
analogous
#D670F2 #F270CD #F2708C
triadic
#F270CD #CDF270 #70CDF2
tetradic
#F270CD #F2D670 #70F295 #708CF2
square
#F270CD #F2D670 #70F295 #708CF2
split-complementary
#F270CD #8CF270 #70F2D6
monochromatic
#D4139D #ED38B9 #F270CD #F7A8E1 #FCE0F4

Accessibility & contrast

On white

2.63
#F270CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##F270CD#FFFFFF#000000##000000
##F270CD1.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7693D0
Deuteranopia (green-blind)
#9BA7CA
Tritanopia (blue-blind)
#FE7395
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #f270cd;
/* rgb */ color: rgb(242, 112, 205);
/* oklch */ color: oklch(72.9% 0.191 339.7);
Tailwind
colors: {
  custom: {
    50: '#f99edc',
    500: '#f270cd',
    950: '#000000',
  },
}
SCSS
$custom: #f270cd;
$custom-light: #f99edc;
$custom-dark: #000000;
JSON
{
  "hex": "#f270cd",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 205
  },
  "hsl": {
    "h": 317.077,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72868,
    "c": 0.19089,
    "h": 339.7
  },
  "luminance": 0.34873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F270CD

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

Preview Lab → · Contrast checker → · Palette generator →

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