#F256D2#F256D2

#F256D2 is a light, highly saturated pink. Relative luminance 0.302; OKLCH L 70.1% C 0.231 H 336.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#F256D2
RGBrgb(242, 86, 210)
HSLhsl(312, 86%, 64%)
HSVhsv(312, 64%, 95%)
CMYKcmyk(0%, 64.5%, 13.2%, 5.1%)
CIE-LABlab(61.82, 72.41, -33.43)
CIE-LCHlch(61.82, 79.75, 335.22°)
OKLaboklab(70.11% 0.2125 -0.0907)
OKLCHoklch(70.11% 0.231 336.9)
XYZxyz(51.5794, 30.1904, 64.0711)
Luminance0.3019 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F256D2 #56F276
analogous
#C456F2 #F256D2 #F25684
triadic
#F256D2 #D2F256 #56D2F2
tetradic
#F256D2 #F2C456 #56F276 #5684F2
square
#F256D2 #F2C456 #56F276 #5684F2
split-complementary
#F256D2 #84F256 #56F2C4
monochromatic
#BF0F9B #EE1DC3 #F256D2 #F68FE1 #FBC8F0

Accessibility & contrast

On white

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

On black

7.04
#F256D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F256D2
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F256D2#FFFFFF#000000##000000
##F256D21.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A86D6
Deuteranopia (green-blind)
#8B9ECE
Tritanopia (blue-blind)
#FE5E8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f256d2;
/* rgb */ color: rgb(242, 86, 210);
/* oklch */ color: oklch(70.1% 0.231 336.9);
Tailwind
colors: {
  custom: {
    50: '#fa90e0',
    500: '#f256d2',
    950: '#000000',
  },
}
SCSS
$custom: #f256d2;
$custom-light: #fa90e0;
$custom-dark: #000000;
JSON
{
  "hex": "#f256d2",
  "rgb": {
    "r": 242,
    "g": 86,
    "b": 210
  },
  "hsl": {
    "h": 312.308,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.70114,
    "c": 0.23107,
    "h": 336.9
  },
  "luminance": 0.30186
}

Semantic roles & 50–950 ramp

primary
#F256D2
secondary
#B7EDC2
accent
#E23103
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F256D2

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

Preview Lab → · Contrast checker → · Palette generator →

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