#FF31BA#FF31BA

#FF31BA is a light, highly saturated pink. Relative luminance 0.270; OKLCH L 68.1% C 0.263 H 346.0°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#FF31BA
RGBrgb(255, 49, 186)
HSLhsl(320, 100%, 60%)
HSVhsv(320, 81%, 100%)
CMYKcmyk(0%, 80.8%, 27.1%, 0%)
CIE-LABlab(58.98, 83.64, -23.95)
CIE-LCHlch(58.98, 87.00, 344.02°)
OKLaboklab(68.13% 0.2547 -0.0636)
OKLCHoklch(68.13% 0.263 346)
XYZxyz(51.2037, 27.0077, 48.9614)
Luminance0.2700 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FF31BA #31FF76
analogous
#DD31FF #FF31BA #FF3153
triadic
#FF31BA #BAFF31 #31BAFF
tetradic
#FF31BA #FFDD31 #31FF76 #3153FF
square
#FF31BA #FFDD31 #31FF76 #3153FF
split-complementary
#FF31BA #53FF31 #31FFDD
monochromatic
#B60079 #F300A1 #FF31BA #FF6ECE #FFABE3

Accessibility & contrast

On white

3.28
#FF31BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#FF31BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #FF31BA
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FF31BA#FFFFFF#000000##000000
##FF31BA1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5278BD
Deuteranopia (green-blind)
#919AB6
Tritanopia (blue-blind)
#FF2974
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ff31ba;
/* rgb */ color: rgb(255, 49, 186);
/* oklch */ color: oklch(68.1% 0.263 346.0);
Tailwind
colors: {
  custom: {
    50: '#ff81cf',
    500: '#ff31ba',
    950: '#000000',
  },
}
SCSS
$custom: #ff31ba;
$custom-light: #ff81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ff31ba",
  "rgb": {
    "r": 255,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 320.097,
    "s": 100,
    "l": 59.608
  },
  "oklch": {
    "l": 0.68133,
    "c": 0.2625,
    "h": 346
  },
  "luminance": 0.27002
}

Semantic roles & 50–950 ramp

primary
#FF31BA
secondary
#9EEEB9
accent
#FF7129
background
#FFF8FC
surface
#FFF0F9
border
#D7CBD2
text
#190C13
muted
#877D82

Preview Lab

Preview with #FF31BA

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

Preview Lab → · Contrast checker → · Palette generator →

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