#B02864#B02864

#B02864 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.177 H 359.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B02864
RGBrgb(176, 40, 100)
HSLhsl(334, 63%, 42%)
HSVhsv(334, 77%, 69%)
CMYKcmyk(0%, 77.3%, 43.2%, 31%)
CIE-LABlab(40.69, 57.76, -1.25)
CIE-LCHlch(40.69, 57.77, 358.76°)
OKLaboklab(51.2% 0.1775 -0.0026)
OKLCHoklch(51.2% 0.178 359.2)
XYZxyz(20.9651, 11.6705, 13.2028)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02864 #28B074
analogous
#B028A8 #B02864 #B03028
triadic
#B02864 #64B028 #2864B0
tetradic
#B02864 #A8B028 #28B074 #3028B0
square
#B02864 #A8B028 #28B074 #3028B0
split-complementary
#B02864 #28B030 #28A8B0
monochromatic
#4C112B #7E1D48 #B02864 #D44182 #DF73A3

Accessibility & contrast

On white

6.30
#B02864 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#B02864 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02864
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02864#FFFFFF#000000##FFFFFF
##B028641.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474F65
Deuteranopia (green-blind)
#6C6961
Tritanopia (blue-blind)
#BF0E43
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b02864;
/* rgb */ color: rgb(176, 40, 100);
/* oklch */ color: oklch(51.2% 0.177 359.2);
Tailwind
colors: {
  custom: {
    50: '#cd7090',
    500: '#b02864',
    950: '#000000',
  },
}
SCSS
$custom: #b02864;
$custom-light: #cd7090;
$custom-dark: #000000;
JSON
{
  "hex": "#b02864",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 100
  },
  "hsl": {
    "h": 333.529,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51199,
    "c": 0.1775,
    "h": 359.2
  },
  "luminance": 0.11668
}

Semantic roles & 50–950 ramp

primary
#B02864
secondary
#6DC69F
accent
#E69E42
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #B02864

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

Preview Lab → · Contrast checker → · Palette generator →

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