#B6297F#B6297F

#B6297F is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.193 H 348.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B6297F
RGBrgb(182, 41, 127)
HSLhsl(323, 63%, 44%)
HSVhsv(323, 77%, 71%)
CMYKcmyk(0%, 77.5%, 30.2%, 28.6%)
CIE-LABlab(42.86, 61.94, -14.68)
CIE-LCHlch(42.86, 63.66, 346.67°)
OKLaboklab(53.3% 0.1891 -0.0386)
OKLCHoklch(53.3% 0.193 348.5)
XYZxyz(23.9164, 13.0660, 21.3371)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B6297F #29B660
analogous
#A629B6 #B6297F #B62938
triadic
#B6297F #7FB629 #297FB6
tetradic
#B6297F #B6A629 #29B660 #2938B6
square
#B6297F #B6A629 #29B660 #2938B6
split-complementary
#B6297F #38B629 #29B6A6
monochromatic
#521239 #841E5C #B6297F #D5479E #E179B8

Accessibility & contrast

On white

5.81
#B6297F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#B6297F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B6297F
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B6297F#FFFFFF#000000##FFFFFF
##B6297F1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405681
Deuteranopia (green-blind)
#696E7C
Tritanopia (blue-blind)
#C32151
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #b6297f;
/* rgb */ color: rgb(182, 41, 127);
/* oklch */ color: oklch(53.3% 0.193 348.5);
Tailwind
colors: {
  custom: {
    50: '#d072a4',
    500: '#b6297f',
    950: '#000000',
  },
}
SCSS
$custom: #b6297f;
$custom-light: #d072a4;
$custom-dark: #000000;
JSON
{
  "hex": "#b6297f",
  "rgb": {
    "r": 182,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 323.404,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53303,
    "c": 0.19303,
    "h": 348.5
  },
  "luminance": 0.13063
}

Semantic roles & 50–950 ramp

primary
#B6297F
secondary
#72C994
accent
#E68242
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #B6297F

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

Preview Lab → · Contrast checker → · Palette generator →

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