#FF287C#FF287C

#FF287C is a light, highly saturated pink. Relative luminance 0.242; OKLCH L 65.5% C 0.245 H 5.2°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#FF287C
RGBrgb(255, 40, 124)
HSLhsl(337, 100%, 58%)
HSVhsv(337, 84%, 100%)
CMYKcmyk(0%, 84.3%, 51.4%, 0%)
CIE-LABlab(56.33, 79.79, 8.53)
CIE-LCHlch(56.33, 80.24, 6.10°)
OKLaboklab(65.55% 0.2443 0.0223)
OKLCHoklch(65.55% 0.245 5.2)
XYZxyz(45.6412, 24.2395, 21.3403)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF287C #28FFAB
analogous
#FF28E8 #FF287C #FF3F28
triadic
#FF287C #7CFF28 #287CFF
tetradic
#FF287C #E8FF28 #28FFAB #3F28FF
square
#FF287C #E8FF28 #28FFAB #3F28FF
split-complementary
#FF287C #28FF3F #28E8FF
monochromatic
#AD0043 #EA005B #FF287C #FF65A1 #FFA2C7

Accessibility & contrast

On white

3.59
#FF287C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#FF287C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF287C
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF287C#FFFFFF#000000##000000
##FF287C1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7E
Deuteranopia (green-blind)
#9E9677
Tritanopia (blue-blind)
#FF0050
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ff287c;
/* rgb */ color: rgb(255, 40, 124);
/* oklch */ color: oklch(65.5% 0.245 5.2);
Tailwind
colors: {
  custom: {
    50: '#ff7ca1',
    500: '#ff287c',
    950: '#000000',
  },
}
SCSS
$custom: #ff287c;
$custom-light: #ff7ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#ff287c",
  "rgb": {
    "r": 255,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 336.558,
    "s": 100,
    "l": 57.843
  },
  "oklch": {
    "l": 0.65548,
    "c": 0.24527,
    "h": 5.2
  },
  "luminance": 0.24233
}

Semantic roles & 50–950 ramp

primary
#FF287C
secondary
#96EDCB
accent
#FFAB29
background
#FFF8F9
surface
#FFF0F2
border
#D7CBCC
text
#1A0B0E
muted
#877C7E

Preview Lab

Preview with #FF287C

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

Preview Lab → · Contrast checker → · Palette generator →

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