#B02F8F#B02F8F

#B02F8F is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.192 H 340.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B02F8F
RGBrgb(176, 47, 143)
HSLhsl(315, 58%, 44%)
HSVhsv(315, 73%, 69%)
CMYKcmyk(0%, 73.3%, 18.7%, 31%)
CIE-LABlab(43.14, 60.61, -24.13)
CIE-LCHlch(43.14, 65.23, 338.29°)
OKLaboklab(53.52% 0.1808 -0.0651)
OKLCHoklch(53.52% 0.192 340.2)
XYZxyz(23.8796, 13.2486, 27.2809)
Luminance0.1325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F8F #2FB050
analogous
#902FB0 #B02F8F #B02F4E
triadic
#B02F8F #8FB02F #2F8FB0
tetradic
#B02F8F #B0902F #2FB050 #2F4EB0
square
#B02F8F #B0902F #2FB050 #2F4EB0
split-complementary
#B02F8F #4EB02F #2FB090
monochromatic
#4F1541 #802268 #B02F8F #CF4DAE #DC7DC4

Accessibility & contrast

On white

5.75
#B02F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#B02F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F8F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F8F#FFFFFF#000000##FFFFFF
##B02F8F1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385992
Deuteranopia (green-blind)
#626D8C
Tritanopia (blue-blind)
#BA335B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #b02f8f;
/* rgb */ color: rgb(176, 47, 143);
/* oklch */ color: oklch(53.5% 0.192 340.2);
Tailwind
colors: {
  custom: {
    50: '#cb74b0',
    500: '#b02f8f',
    950: '#000000',
  },
}
SCSS
$custom: #b02f8f;
$custom-light: #cb74b0;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f8f",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 315.349,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53522,
    "c": 0.19215,
    "h": 340.2
  },
  "luminance": 0.13246
}

Semantic roles & 50–950 ramp

primary
#B02F8F
secondary
#76C58A
accent
#E16E47
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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