#B02F7B#B02F7B

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

Color values

HEX#B02F7B
RGBrgb(176, 47, 123)
HSLhsl(325, 58%, 44%)
HSVhsv(325, 73%, 69%)
CMYKcmyk(0%, 73.3%, 30.1%, 31%)
CIE-LABlab(42.30, 57.99, -13.17)
CIE-LCHlch(42.30, 59.47, 347.20°)
OKLaboklab(52.64% 0.1768 -0.0345)
OKLCHoklch(52.64% 0.18 349)
XYZxyz(22.4973, 12.6957, 20.0008)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F7B #2FB064
analogous
#A42FB0 #B02F7B #B02F3A
triadic
#B02F7B #7BB02F #2F7BB0
tetradic
#B02F7B #B0A42F #2FB064 #2F3AB0
square
#B02F7B #B0A42F #2FB064 #2F3AB0
split-complementary
#B02F7B #3AB02F #2FB0A4
monochromatic
#4F1537 #802259 #B02F7B #CF4D9A #DC7DB5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B02F7B#FFFFFF#000000##FFFFFF
##B02F7B1.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)
#43557D
Deuteranopia (green-blind)
#686C78
Tritanopia (blue-blind)
#BD2851
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02f7b;
/* rgb */ color: rgb(176, 47, 123);
/* oklch */ color: oklch(52.6% 0.180 349.0);
Tailwind
colors: {
  custom: {
    50: '#cc73a1',
    500: '#b02f7b',
    950: '#000000',
  },
}
SCSS
$custom: #b02f7b;
$custom-light: #cc73a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f7b",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 324.651,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52642,
    "c": 0.18018,
    "h": 349
  },
  "luminance": 0.12693
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B02F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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