#B02F7F#B02F7F

#B02F7F is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.182 H 347.1°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B02F7F
RGBrgb(176, 47, 127)
HSLhsl(323, 58%, 44%)
HSVhsv(323, 73%, 69%)
CMYKcmyk(0%, 73.3%, 27.8%, 31%)
CIE-LABlab(42.46, 58.49, -15.40)
CIE-LCHlch(42.46, 60.48, 345.25°)
OKLaboklab(52.81% 0.1778 -0.0406)
OKLCHoklch(52.81% 0.182 347.1)
XYZxyz(22.7528, 12.7979, 21.3466)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F7F #2FB060
analogous
#A02FB0 #B02F7F #B02F3E
triadic
#B02F7F #7FB02F #2F7FB0
tetradic
#B02F7F #B0A02F #2FB060 #2F3EB0
square
#B02F7F #B0A02F #2FB060 #2F3EB0
split-complementary
#B02F7F #3EB02F #2FB0A0
monochromatic
#4F1539 #80225C #B02F7F #CF4D9E #DC7DB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02F7F#FFFFFF#000000##FFFFFF
##B02F7F1.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)
#415681
Deuteranopia (green-blind)
#676C7C
Tritanopia (blue-blind)
#BC2B53
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02f7f;
/* rgb */ color: rgb(176, 47, 127);
/* oklch */ color: oklch(52.8% 0.182 347.1);
Tailwind
colors: {
  custom: {
    50: '#cc73a4',
    500: '#b02f7f',
    950: '#000000',
  },
}
SCSS
$custom: #b02f7f;
$custom-light: #cc73a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f7f",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 322.791,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52807,
    "c": 0.18237,
    "h": 347.1
  },
  "luminance": 0.12795
}

Semantic roles & 50–950 ramp

primary
#B02F7F
secondary
#76C594
accent
#E18147
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B02F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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