#B1297C#B1297C

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

Color values

HEX#B1297C
RGBrgb(177, 41, 124)
HSLhsl(323, 62%, 43%)
HSVhsv(323, 77%, 69%)
CMYKcmyk(0%, 76.8%, 29.9%, 30.6%)
CIE-LABlab(41.83, 60.33, -14.49)
CIE-LCHlch(41.83, 62.04, 346.50°)
OKLaboklab(52.35% 0.1841 -0.0381)
OKLCHoklch(52.35% 0.188 348.3)
XYZxyz(22.5637, 12.3908, 20.2683)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1297C #29B15E
analogous
#A229B1 #B1297C #B12938
triadic
#B1297C #7CB129 #297CB1
tetradic
#B1297C #B1A229 #29B15E #2938B1
square
#B1297C #B1A229 #29B15E #2938B1
split-complementary
#B1297C #38B129 #29B1A2
monochromatic
#4E1236 #7F1D59 #B1297C #D4449B #DF75B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B1297C#FFFFFF#000000##FFFFFF
##B1297C1.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)
#3F547E
Deuteranopia (green-blind)
#676B79
Tritanopia (blue-blind)
#BE224F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b1297c;
/* rgb */ color: rgb(177, 41, 124);
/* oklch */ color: oklch(52.3% 0.188 348.3);
Tailwind
colors: {
  custom: {
    50: '#cd71a2',
    500: '#b1297c',
    950: '#000000',
  },
}
SCSS
$custom: #b1297c;
$custom-light: #cd71a2;
$custom-dark: #000000;
JSON
{
  "hex": "#b1297c",
  "rgb": {
    "r": 177,
    "g": 41,
    "b": 124
  },
  "hsl": {
    "h": 323.382,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52346,
    "c": 0.18798,
    "h": 348.3
  },
  "luminance": 0.12388
}

Semantic roles & 50–950 ramp

primary
#B1297C
secondary
#6FC791
accent
#E58242
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #B1297C

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

Preview Lab → · Contrast checker → · Palette generator →

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