#B02F6E#B02F6E

#B02F6E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.174 H 355.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B02F6E
RGBrgb(176, 47, 110)
HSLhsl(331, 58%, 44%)
HSVhsv(331, 73%, 69%)
CMYKcmyk(0%, 73.3%, 37.5%, 31%)
CIE-LABlab(41.83, 56.49, -5.82)
CIE-LCHlch(41.83, 56.79, 354.12°)
OKLaboklab(52.15% 0.1733 -0.0146)
OKLCHoklch(52.15% 0.174 355.2)
XYZxyz(21.7369, 12.3916, 15.9960)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F6E #2FB071
analogous
#B02FAE #B02F6E #B0302F
triadic
#B02F6E #6EB02F #2F6EB0
tetradic
#B02F6E #AEB02F #2FB071 #302FB0
square
#B02F6E #AEB02F #2FB071 #302FB0
split-complementary
#B02F6E #2FB030 #2FAEB0
monochromatic
#4F1532 #802250 #B02F6E #CF4D8D #DC7DAC

Accessibility & contrast

On white

6.04
#B02F6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B02F6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F6E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F6E#FFFFFF#000000##FFFFFF
##B02F6E1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485370
Deuteranopia (green-blind)
#6B6B6B
Tritanopia (blue-blind)
#BE214A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b02f6e;
/* rgb */ color: rgb(176, 47, 110);
/* oklch */ color: oklch(52.1% 0.174 355.2);
Tailwind
colors: {
  custom: {
    50: '#cc7397',
    500: '#b02f6e',
    950: '#000000',
  },
}
SCSS
$custom: #b02f6e;
$custom-light: #cc7397;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f6e",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 330.698,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.17391,
    "h": 355.2
  },
  "luminance": 0.12389
}

Semantic roles & 50–950 ramp

primary
#B02F6E
secondary
#76C59E
accent
#E19647
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B02F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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