#F256D4#F256D4

#F256D4 is a light, highly saturated pink. Relative luminance 0.303; OKLCH L 70.2% C 0.232 H 336.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#F256D4
RGBrgb(242, 86, 212)
HSLhsl(312, 86%, 64%)
HSVhsv(312, 64%, 95%)
CMYKcmyk(0%, 64.5%, 12.4%, 5.1%)
CIE-LABlab(61.90, 72.70, -34.42)
CIE-LCHlch(61.90, 80.44, 334.66°)
OKLaboklab(70.21% 0.2128 -0.0935)
OKLCHoklch(70.21% 0.232 336.3)
XYZxyz(51.8301, 30.2907, 65.3915)
Luminance0.3029 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F256D4 #56F274
analogous
#C256F2 #F256D4 #F25686
triadic
#F256D4 #D4F256 #56D4F2
tetradic
#F256D4 #F2C256 #56F274 #5686F2
square
#F256D4 #F2C256 #56F274 #5686F2
split-complementary
#F256D4 #86F256 #56F2C2
monochromatic
#BF0F9D #EE1DC6 #F256D4 #F68FE2 #FBC8F1

Accessibility & contrast

On white

2.98
#F256D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#F256D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F256D4
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F256D4#FFFFFF#000000##000000
##F256D41.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5886D8
Deuteranopia (green-blind)
#8A9ED0
Tritanopia (blue-blind)
#FE5F8E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f256d4;
/* rgb */ color: rgb(242, 86, 212);
/* oklch */ color: oklch(70.2% 0.232 336.3);
Tailwind
colors: {
  custom: {
    50: '#fa90e1',
    500: '#f256d4',
    950: '#000000',
  },
}
SCSS
$custom: #f256d4;
$custom-light: #fa90e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f256d4",
  "rgb": {
    "r": 242,
    "g": 86,
    "b": 212
  },
  "hsl": {
    "h": 311.538,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70205,
    "c": 0.23245,
    "h": 336.3
  },
  "luminance": 0.30286
}

Semantic roles & 50–950 ramp

primary
#F256D4
secondary
#B7EDC1
accent
#E22E03
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F256D4

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

Preview Lab → · Contrast checker → · Palette generator →

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