#B0297D#B0297D

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

Color values

HEX#B0297D
RGBrgb(176, 41, 125)
HSLhsl(323, 62%, 43%)
HSVhsv(323, 77%, 69%)
CMYKcmyk(0%, 76.7%, 29%, 31%)
CIE-LABlab(41.69, 60.19, -15.34)
CIE-LCHlch(41.69, 62.12, 345.70°)
OKLaboklab(52.22% 0.1834 -0.0404)
OKLCHoklch(52.22% 0.188 347.6)
XYZxyz(22.4002, 12.2992, 20.5924)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0297D #29B05C
analogous
#A029B0 #B0297D #B02939
triadic
#B0297D #7DB029 #297DB0
tetradic
#B0297D #B0A029 #29B05C #2939B0
square
#B0297D #B0A029 #29B05C #2939B0
split-complementary
#B0297D #39B029 #29B0A0
monochromatic
#4D1236 #7E1D5A #B0297D #D3439D #DF75B7

Accessibility & contrast

On white

6.07
#B0297D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B0297D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0297D#FFFFFF#000000##FFFFFF
##B0297D1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537F
Deuteranopia (green-blind)
#666B7A
Tritanopia (blue-blind)
#BD2350
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b0297d;
/* rgb */ color: rgb(176, 41, 125);
/* oklch */ color: oklch(52.2% 0.188 347.6);
Tailwind
colors: {
  custom: {
    50: '#cc71a2',
    500: '#b0297d',
    950: '#000000',
  },
}
SCSS
$custom: #b0297d;
$custom-light: #cc71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b0297d",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 322.667,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52221,
    "c": 0.18783,
    "h": 347.6
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#B0297D
secondary
#6FC690
accent
#E58043
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #B0297D

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

Preview Lab → · Contrast checker → · Palette generator →

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