#B02E7C#B02E7C

#B02E7C is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.182 H 348.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B02E7C
RGBrgb(176, 46, 124)
HSLhsl(324, 59%, 44%)
HSVhsv(324, 74%, 69%)
CMYKcmyk(0%, 73.9%, 29.5%, 31%)
CIE-LABlab(42.22, 58.46, -13.91)
CIE-LCHlch(42.22, 60.09, 346.61°)
OKLaboklab(52.6% 0.1782 -0.0365)
OKLCHoklch(52.6% 0.182 348.4)
XYZxyz(22.5207, 12.6419, 20.3190)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02E7C #2EB062
analogous
#A32EB0 #B02E7C #B02E3B
triadic
#B02E7C #7CB02E #2E7CB0
tetradic
#B02E7C #B0A32E #2EB062 #2E3BB0
square
#B02E7C #B0A32E #2EB062 #2E3BB0
split-complementary
#B02E7C #3BB02E #2EB0A3
monochromatic
#4F1538 #7F215A #B02E7C #D04B9B #DD7CB6

Accessibility & contrast

On white

5.95
#B02E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02E7C
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02E7C#FFFFFF#000000##FFFFFF
##B02E7C1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41557E
Deuteranopia (green-blind)
#686C79
Tritanopia (blue-blind)
#BD2851
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02e7c;
/* rgb */ color: rgb(176, 46, 124);
/* oklch */ color: oklch(52.6% 0.182 348.4);
Tailwind
colors: {
  custom: {
    50: '#cc73a2',
    500: '#b02e7c',
    950: '#000000',
  },
}
SCSS
$custom: #b02e7c;
$custom-light: #cc73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b02e7c",
  "rgb": {
    "r": 176,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 324,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52595,
    "c": 0.18186,
    "h": 348.4
  },
  "luminance": 0.12639
}

Semantic roles & 50–950 ramp

primary
#B02E7C
secondary
#75C595
accent
#E28446
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B02E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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