#B0297B#B0297B

#B0297B is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.187 H 348.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#B0297B
RGBrgb(176, 41, 123)
HSLhsl(324, 62%, 43%)
HSVhsv(324, 77%, 69%)
CMYKcmyk(0%, 76.7%, 30.1%, 31%)
CIE-LABlab(41.61, 59.95, -14.22)
CIE-LCHlch(41.61, 61.61, 346.65°)
OKLaboklab(52.14% 0.183 -0.0374)
OKLCHoklch(52.14% 0.187 348.5)
XYZxyz(22.2737, 12.2486, 19.9263)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0297B #29B05E
analogous
#A229B0 #B0297B #B02937
triadic
#B0297B #7BB029 #297BB0
tetradic
#B0297B #B0A229 #29B05E #2937B0
square
#B0297B #B0A229 #29B05E #2937B0
split-complementary
#B0297B #37B029 #29B0A2
monochromatic
#4D1236 #7E1D58 #B0297B #D3439B #DF75B5

Accessibility & contrast

On white

6.09
#B0297B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#B0297B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0297B
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0297B#FFFFFF#000000##FFFFFF
##B0297B1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E537D
Deuteranopia (green-blind)
#666B78
Tritanopia (blue-blind)
#BD224F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b0297b;
/* rgb */ color: rgb(176, 41, 123);
/* oklch */ color: oklch(52.1% 0.187 348.5);
Tailwind
colors: {
  custom: {
    50: '#cc71a1',
    500: '#b0297b',
    950: '#000000',
  },
}
SCSS
$custom: #b0297b;
$custom-light: #cc71a1;
$custom-dark: #000000;
JSON
{
  "hex": "#b0297b",
  "rgb": {
    "r": 176,
    "g": 41,
    "b": 123
  },
  "hsl": {
    "h": 323.556,
    "s": 62.212,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52137,
    "c": 0.18675,
    "h": 348.5
  },
  "luminance": 0.12246
}

Semantic roles & 50–950 ramp

primary
#B0297B
secondary
#6FC691
accent
#E58243
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B0297B

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

Preview Lab → · Contrast checker → · Palette generator →

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