#B02695#B02695

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

Color values

HEX#B02695
RGBrgb(176, 38, 149)
HSLhsl(312, 64%, 42%)
HSVhsv(312, 78%, 69%)
CMYKcmyk(0%, 78.4%, 15.3%, 31%)
CIE-LABlab(42.44, 64.22, -28.84)
CIE-LCHlch(42.44, 70.40, 335.81°)
OKLaboklab(53.11% 0.1899 -0.0785)
OKLCHoklch(53.11% 0.205 337.6)
XYZxyz(24.0229, 12.7886, 29.6312)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02695 #26B041
analogous
#8626B0 #B02695 #B02650
triadic
#B02695 #95B026 #2695B0
tetradic
#B02695 #B08626 #26B041 #2650B0
square
#B02695 #B08626 #26B041 #2650B0
split-complementary
#B02695 #50B026 #26B086
monochromatic
#4B1040 #7E1B6A #B02695 #D53EB8 #E070CA

Accessibility & contrast

On white

5.90
#B02695 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02695
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02695#FFFFFF#000000##FFFFFF
##B026951.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5798
Deuteranopia (green-blind)
#5C6C92
Tritanopia (blue-blind)
#BA2F5C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02695;
/* rgb */ color: rgb(176, 38, 149);
/* oklch */ color: oklch(53.1% 0.205 337.6);
Tailwind
colors: {
  custom: {
    50: '#cc71b4',
    500: '#b02695',
    950: '#000000',
  },
}
SCSS
$custom: #b02695;
$custom-light: #cc71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b02695",
  "rgb": {
    "r": 176,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 311.739,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53114,
    "c": 0.20546,
    "h": 337.6
  },
  "luminance": 0.12786
}

Semantic roles & 50–950 ramp

primary
#B02695
secondary
#6BC77D
accent
#E76140
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02695

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

Preview Lab → · Contrast checker → · Palette generator →

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