#F270D2#F270D2

#F270D2 is a light, vivid pink. Relative luminance 0.351; OKLCH L 73.1% C 0.194 H 337.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#F270D2
RGBrgb(242, 112, 210)
HSLhsl(315, 83%, 69%)
HSVhsv(315, 54%, 95%)
CMYKcmyk(0%, 53.7%, 13.2%, 5.1%)
CIE-LABlab(65.84, 61.46, -27.20)
CIE-LCHlch(65.84, 67.21, 336.13°)
OKLaboklab(73.07% 0.1801 -0.0733)
OKLCHoklch(73.07% 0.194 337.8)
XYZxyz(54.0456, 35.1228, 64.8931)
Luminance0.3512 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F270D2 #70F290
analogous
#D170F2 #F270D2 #F27091
triadic
#F270D2 #D2F270 #70D2F2
tetradic
#F270D2 #F2D170 #70F290 #7091F2
square
#F270D2 #F2D170 #70F290 #7091F2
split-complementary
#F270D2 #91F270 #70F2D1
monochromatic
#D413A5 #ED38C0 #F270D2 #F7A8E4 #FCE0F5

Accessibility & contrast

On white

2.62
#F270D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#F270D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F270D2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F270D2#FFFFFF#000000##000000
##F270D21.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7493D5
Deuteranopia (green-blind)
#99A7CF
Tritanopia (blue-blind)
#FE7598
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #f270d2;
/* rgb */ color: rgb(242, 112, 210);
/* oklch */ color: oklch(73.1% 0.194 337.8);
Tailwind
colors: {
  custom: {
    50: '#f99ee0',
    500: '#f270d2',
    950: '#000000',
  },
}
SCSS
$custom: #f270d2;
$custom-light: #f99ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#f270d2",
  "rgb": {
    "r": 242,
    "g": 112,
    "b": 210
  },
  "hsl": {
    "h": 314.769,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73072,
    "c": 0.19442,
    "h": 337.8
  },
  "luminance": 0.35119
}

Semantic roles & 50–950 ramp

primary
#F270D2
secondary
#CCF2D5
accent
#E03B06
background
#FFFAFD
surface
#FFF3FB
border
#D7CDD4
text
#180F15
muted
#867F83

Preview Lab

Preview with #F270D2

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

Preview Lab → · Contrast checker → · Palette generator →

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