#B02495#B02495

#B02495 is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 53.0% C 0.207 H 337.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B02495
RGBrgb(176, 36, 149)
HSLhsl(312, 66%, 42%)
HSVhsv(312, 80%, 69%)
CMYKcmyk(0%, 79.5%, 15.3%, 31%)
CIE-LABlab(42.25, 64.77, -29.14)
CIE-LCHlch(42.25, 71.02, 335.78°)
OKLaboklab(52.98% 0.1915 -0.0793)
OKLCHoklch(52.98% 0.207 337.5)
XYZxyz(23.9607, 12.6641, 29.6105)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02495 #24B03F
analogous
#8524B0 #B02495 #B0244F
triadic
#B02495 #95B024 #2495B0
tetradic
#B02495 #B08524 #24B03F #244FB0
square
#B02495 #B08524 #24B03F #244FB0
split-complementary
#B02495 #4FB024 #24B085
monochromatic
#4A0F3F #7D1A6A #B02495 #D73AB9 #E16DCB

Accessibility & contrast

On white

5.94
#B02495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B02495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02495
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02495#FFFFFF#000000##FFFFFF
##B024951.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5698
Deuteranopia (green-blind)
#5C6B92
Tritanopia (blue-blind)
#BA2D5B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02495;
/* rgb */ color: rgb(176, 36, 149);
/* oklch */ color: oklch(53.0% 0.207 337.5);
Tailwind
colors: {
  custom: {
    50: '#cc70b4',
    500: '#b02495',
    950: '#000000',
  },
}
SCSS
$custom: #b02495;
$custom-light: #cc70b4;
$custom-dark: #000000;
JSON
{
  "hex": "#b02495",
  "rgb": {
    "r": 176,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 311.571,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52977,
    "c": 0.20729,
    "h": 337.5
  },
  "luminance": 0.12662
}

Semantic roles & 50–950 ramp

primary
#B02495
secondary
#68C87B
accent
#E9603F
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B02495

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

Preview Lab → · Contrast checker → · Palette generator →

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