#F256C7#F256C7

#F256C7 is a light, highly saturated pink. Relative luminance 0.297; OKLCH L 69.6% C 0.224 H 340.4°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#F256C7
RGBrgb(242, 86, 199)
HSLhsl(317, 86%, 64%)
HSVhsv(317, 64%, 95%)
CMYKcmyk(0%, 64.5%, 17.8%, 5.1%)
CIE-LABlab(61.36, 70.86, -27.90)
CIE-LCHlch(61.36, 76.16, 338.51°)
OKLaboklab(69.63% 0.2108 -0.0751)
OKLCHoklch(69.63% 0.224 340.4)
XYZxyz(50.2558, 29.6609, 57.1001)
Luminance0.2966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F256C7 #56F281
analogous
#CF56F2 #F256C7 #F25679
triadic
#F256C7 #C7F256 #56C7F2
tetradic
#F256C7 #F2CF56 #56F281 #5679F2
square
#F256C7 #F2CF56 #56F281 #5679F2
split-complementary
#F256C7 #79F256 #56F2CF
monochromatic
#BF0F8E #EE1DB4 #F256C7 #F68FDA #FBC8ED

Accessibility & contrast

On white

3.03
#F256C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#F256C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F256C7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F256C7#FFFFFF#000000##000000
##F256C71.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6084CA
Deuteranopia (green-blind)
#8F9DC3
Tritanopia (blue-blind)
#FF5A87
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f256c7;
/* rgb */ color: rgb(242, 86, 199);
/* oklch */ color: oklch(69.6% 0.224 340.4);
Tailwind
colors: {
  custom: {
    50: '#fa8fd8',
    500: '#f256c7',
    950: '#000000',
  },
}
SCSS
$custom: #f256c7;
$custom-light: #fa8fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#f256c7",
  "rgb": {
    "r": 242,
    "g": 86,
    "b": 199
  },
  "hsl": {
    "h": 316.538,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6963,
    "c": 0.22375,
    "h": 340.4
  },
  "luminance": 0.29656
}

Semantic roles & 50–950 ramp

primary
#F256C7
secondary
#B7EDC6
accent
#E24103
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F256C7

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

Preview Lab → · Contrast checker → · Palette generator →

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