#B02F7E#B02F7E

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

Color values

HEX#B02F7E
RGBrgb(176, 47, 126)
HSLhsl(323, 58%, 44%)
HSVhsv(323, 73%, 69%)
CMYKcmyk(0%, 73.3%, 28.4%, 31%)
CIE-LABlab(42.42, 58.36, -14.84)
CIE-LCHlch(42.42, 60.22, 345.73°)
OKLaboklab(52.77% 0.1776 -0.0391)
OKLCHoklch(52.77% 0.182 347.6)
XYZxyz(22.6880, 12.7720, 21.0051)
Luminance0.1277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F7E #2FB061
analogous
#A12FB0 #B02F7E #B02F3D
triadic
#B02F7E #7EB02F #2F7EB0
tetradic
#B02F7E #B0A12F #2FB061 #2F3DB0
square
#B02F7E #B0A12F #2FB061 #2F3DB0
split-complementary
#B02F7E #3DB02F #2FB0A1
monochromatic
#4F1539 #80225B #B02F7E #CF4D9D #DC7DB7

Accessibility & contrast

On white

5.91
#B02F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B02F7E
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F7E#FFFFFF#000000##FFFFFF
##B02F7E1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415680
Deuteranopia (green-blind)
#676C7B
Tritanopia (blue-blind)
#BC2A52
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02f7e;
/* rgb */ color: rgb(176, 47, 126);
/* oklch */ color: oklch(52.8% 0.182 347.6);
Tailwind
colors: {
  custom: {
    50: '#cc73a3',
    500: '#b02f7e',
    950: '#000000',
  },
}
SCSS
$custom: #b02f7e;
$custom-light: #cc73a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f7e",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 323.256,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.18182,
    "h": 347.6
  },
  "luminance": 0.12769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B02F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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