#B02862#B02862

#B02862 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.177 H 0.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B02862
RGBrgb(176, 40, 98)
HSLhsl(334, 63%, 42%)
HSVhsv(334, 77%, 69%)
CMYKcmyk(0%, 77.3%, 44.3%, 31%)
CIE-LABlab(40.63, 57.57, -0.09)
CIE-LCHlch(40.63, 57.57, 359.91°)
OKLaboklab(51.13% 0.1768 0.0004)
OKLCHoklch(51.13% 0.177 0.1)
XYZxyz(20.8695, 11.6323, 12.6992)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02862 #28B076
analogous
#B028A6 #B02862 #B03228
triadic
#B02862 #62B028 #2862B0
tetradic
#B02862 #A6B028 #28B076 #3228B0
square
#B02862 #A6B028 #28B076 #3228B0
split-complementary
#B02862 #28B032 #28A6B0
monochromatic
#4C112A #7E1D46 #B02862 #D44180 #DF73A1

Accessibility & contrast

On white

6.31
#B02862 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02862
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02862#FFFFFF#000000##FFFFFF
##B028621.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474F63
Deuteranopia (green-blind)
#6C695F
Tritanopia (blue-blind)
#BF0C42
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b02862;
/* rgb */ color: rgb(176, 40, 98);
/* oklch */ color: oklch(51.1% 0.177 0.1);
Tailwind
colors: {
  custom: {
    50: '#cd708e',
    500: '#b02862',
    950: '#000000',
  },
}
SCSS
$custom: #b02862;
$custom-light: #cd708e;
$custom-dark: #000000;
JSON
{
  "hex": "#b02862",
  "rgb": {
    "r": 176,
    "g": 40,
    "b": 98
  },
  "hsl": {
    "h": 334.412,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51133,
    "c": 0.17682,
    "h": 0.1
  },
  "luminance": 0.1163
}

Semantic roles & 50–950 ramp

primary
#B02862
secondary
#6DC6A0
accent
#E6A042
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #B02862

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

Preview Lab → · Contrast checker → · Palette generator →

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