#B02F7D#B02F7D

#B02F7D is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.7% C 0.181 H 348.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#B02F7D
RGBrgb(176, 47, 125)
HSLhsl(324, 58%, 44%)
HSVhsv(324, 73%, 69%)
CMYKcmyk(0%, 73.3%, 29%, 31%)
CIE-LABlab(42.38, 58.24, -14.29)
CIE-LCHlch(42.38, 59.97, 346.22°)
OKLaboklab(52.72% 0.1773 -0.0376)
OKLCHoklch(52.72% 0.181 348)
XYZxyz(22.6238, 12.7463, 20.6669)
Luminance0.1274 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F7D #2FB062
analogous
#A22FB0 #B02F7D #B02F3C
triadic
#B02F7D #7DB02F #2F7DB0
tetradic
#B02F7D #B0A22F #2FB062 #2F3CB0
square
#B02F7D #B0A22F #2FB062 #2F3CB0
split-complementary
#B02F7D #3CB02F #2FB0A2
monochromatic
#4F1538 #80225B #B02F7D #CF4D9C #DC7DB7

Accessibility & contrast

On white

5.92
#B02F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#B02F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F7D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F7D#FFFFFF#000000##FFFFFF
##B02F7D1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42567F
Deuteranopia (green-blind)
#686C7A
Tritanopia (blue-blind)
#BD2A52
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02f7d;
/* rgb */ color: rgb(176, 47, 125);
/* oklch */ color: oklch(52.7% 0.181 348.0);
Tailwind
colors: {
  custom: {
    50: '#cc73a2',
    500: '#b02f7d',
    950: '#000000',
  },
}
SCSS
$custom: #b02f7d;
$custom-light: #cc73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f7d",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 323.721,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52724,
    "c": 0.18126,
    "h": 348
  },
  "luminance": 0.12744
}

Semantic roles & 50–950 ramp

primary
#B02F7D
secondary
#76C595
accent
#E18447
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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