#B02892#B02892

#B02892 is a mid, highly saturated pink. Relative luminance 0.128; OKLCH L 53.1% C 0.202 H 338.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B02892
RGBrgb(176, 40, 146)
HSLhsl(313, 63%, 42%)
HSVhsv(313, 77%, 69%)
CMYKcmyk(0%, 77.3%, 17%, 31%)
CIE-LABlab(42.50, 63.23, -26.94)
CIE-LCHlch(42.50, 68.73, 336.92°)
OKLaboklab(53.11% 0.1879 -0.073)
OKLCHoklch(53.11% 0.202 338.8)
XYZxyz(23.8522, 12.8254, 28.4079)
Luminance0.1282 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02892 #28B046
analogous
#8A28B0 #B02892 #B0284E
triadic
#B02892 #92B028 #2892B0
tetradic
#B02892 #B08A28 #28B046 #284EB0
square
#B02892 #B08A28 #28B046 #284EB0
split-complementary
#B02892 #4EB028 #28B08A
monochromatic
#4C113F #7E1D69 #B02892 #D441B4 #DF73C7

Accessibility & contrast

On white

5.89
#B02892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B02892 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02892
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02892#FFFFFF#000000##FFFFFF
##B028921.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305795
Deuteranopia (green-blind)
#5E6C8F
Tritanopia (blue-blind)
#BA2F5B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02892;
/* rgb */ color: rgb(176, 40, 146);
/* oklch */ color: oklch(53.1% 0.202 338.8);
Tailwind
colors: {
  custom: {
    50: '#cc71b2',
    500: '#b02892',
    950: '#000000',
  },
}
SCSS
$custom: #b02892;
$custom-light: #cc71b2;
$custom-dark: #000000;
JSON
{
  "hex": "#b02892",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 313.235,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53107,
    "c": 0.20155,
    "h": 338.8
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#B02892
secondary
#6DC681
accent
#E66642
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02892

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

Preview Lab → · Contrast checker → · Palette generator →

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