#B02F7C#B02F7C

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

Color values

HEX#B02F7C
RGBrgb(176, 47, 124)
HSLhsl(324, 58%, 44%)
HSVhsv(324, 73%, 69%)
CMYKcmyk(0%, 73.3%, 29.5%, 31%)
CIE-LABlab(42.34, 58.11, -13.73)
CIE-LCHlch(42.34, 59.71, 346.71°)
OKLaboklab(52.68% 0.1771 -0.0361)
OKLCHoklch(52.68% 0.181 348.5)
XYZxyz(22.5602, 12.7209, 20.3322)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F7C #2FB063
analogous
#A32FB0 #B02F7C #B02F3B
triadic
#B02F7C #7CB02F #2F7CB0
tetradic
#B02F7C #B0A32F #2FB063 #2F3BB0
square
#B02F7C #B0A32F #2FB063 #2F3BB0
split-complementary
#B02F7C #3BB02F #2FB0A3
monochromatic
#4F1538 #80225A #B02F7C #CF4D9B #DC7DB6

Accessibility & contrast

On white

5.93
#B02F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B02F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F7C
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F7C#FFFFFF#000000##FFFFFF
##B02F7C1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b02f7c;
/* rgb */ color: rgb(176, 47, 124);
/* oklch */ color: oklch(52.7% 0.181 348.5);
Tailwind
colors: {
  custom: {
    50: '#cc73a2',
    500: '#b02f7c',
    950: '#000000',
  },
}
SCSS
$custom: #b02f7c;
$custom-light: #cc73a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f7c",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 124
  },
  "hsl": {
    "h": 324.186,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52683,
    "c": 0.18072,
    "h": 348.5
  },
  "luminance": 0.12718
}

Semantic roles & 50–950 ramp

primary
#B02F7C
secondary
#76C596
accent
#E18547
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B02F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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