#B0297E#B0297E

#B0297E is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.188 H 347.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B0297E
RGBrgb(176, 41, 126)
HSLhsl(322, 62%, 43%)
HSVhsv(322, 77%, 69%)
CMYKcmyk(0%, 76.7%, 28.4%, 31%)
CIE-LABlab(41.73, 60.31, -15.89)
CIE-LCHlch(41.73, 62.37, 345.24°)
OKLaboklab(52.26% 0.1836 -0.042)
OKLCHoklch(52.26% 0.188 347.1)
XYZxyz(22.4644, 12.3249, 20.9305)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0297E #29B05B
analogous
#9E29B0 #B0297E #B0293B
triadic
#B0297E #7EB029 #297EB0
tetradic
#B0297E #B09E29 #29B05B #293BB0
square
#B0297E #B09E29 #29B05B #293BB0
split-complementary
#B0297E #3BB029 #29B09E
monochromatic
#4D1237 #7E1D5A #B0297E #D3439E #DF75B7

Accessibility & contrast

On white

6.06
#B0297E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#B0297E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0297E
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0297E#FFFFFF#000000##FFFFFF
##B0297E1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5480
Deuteranopia (green-blind)
#656B7B
Tritanopia (blue-blind)
#BD2450
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b0297e;
/* rgb */ color: rgb(176, 41, 126);
/* oklch */ color: oklch(52.3% 0.188 347.1);
Tailwind
colors: {
  custom: {
    50: '#cc71a3',
    500: '#b0297e',
    950: '#000000',
  },
}
SCSS
$custom: #b0297e;
$custom-light: #cc71a3;
$custom-dark: #000000;
JSON
{
  "hex": "#b0297e",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 322.222,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52263,
    "c": 0.18838,
    "h": 347.1
  },
  "luminance": 0.12322
}

Semantic roles & 50–950 ramp

primary
#B0297E
secondary
#6FC68F
accent
#E57F43
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B0297E

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

Preview Lab → · Contrast checker → · Palette generator →

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