#B2295A#B2295A

#B2295A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.175 H 4.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B2295A
RGBrgb(178, 41, 90)
HSLhsl(339, 63%, 43%)
HSVhsv(339, 77%, 70%)
CMYKcmyk(0%, 77%, 49.4%, 30.2%)
CIE-LABlab(40.88, 57.09, 5.38)
CIE-LCHlch(40.88, 57.34, 5.38°)
OKLaboklab(51.32% 0.1747 0.0143)
OKLCHoklch(51.32% 0.175 4.7)
XYZxyz(21.0003, 11.7919, 10.8411)
Luminance0.1179 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2295A #29B281
analogous
#B2299E #B2295A #B23C29
triadic
#B2295A #5AB229 #295AB2
tetradic
#B2295A #9EB229 #29B281 #3C29B2
square
#B2295A #9EB229 #29B281 #3C29B2
split-complementary
#B2295A #29B23C #299EB2
monochromatic
#4F1228 #801E41 #B2295A #D44478 #DF769C

Accessibility & contrast

On white

6.25
#B2295A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#B2295A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2295A
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2295A#FFFFFF#000000##FFFFFF
##B2295A1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F5B
Deuteranopia (green-blind)
#6F6A57
Tritanopia (blue-blind)
#C2033E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b2295a;
/* rgb */ color: rgb(178, 41, 90);
/* oklch */ color: oklch(51.3% 0.175 4.7);
Tailwind
colors: {
  custom: {
    50: '#cf7088',
    500: '#b2295a',
    950: '#000000',
  },
}
SCSS
$custom: #b2295a;
$custom-light: #cf7088;
$custom-dark: #000000;
JSON
{
  "hex": "#b2295a",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 90
  },
  "hsl": {
    "h": 338.54,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51316,
    "c": 0.17524,
    "h": 4.7
  },
  "luminance": 0.11789
}

Semantic roles & 50–950 ramp

primary
#B2295A
secondary
#70C7A8
accent
#E6AB42
background
#FDF7F8
surface
#FBEDEF
border
#D4C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #B2295A

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

Preview Lab → · Contrast checker → · Palette generator →

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