#B2295E#B2295E

#B2295E is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.176 H 2.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#B2295E
RGBrgb(178, 41, 94)
HSLhsl(337, 63%, 43%)
HSVhsv(337, 77%, 70%)
CMYKcmyk(0%, 77%, 47.2%, 30.2%)
CIE-LABlab(41.00, 57.44, 3.02)
CIE-LCHlch(41.00, 57.52, 3.01°)
OKLaboklab(51.43% 0.1761 0.0084)
OKLCHoklch(51.43% 0.176 2.7)
XYZxyz(21.1752, 11.8619, 11.7620)
Luminance0.1186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2295E #29B27D
analogous
#B229A2 #B2295E #B23829
triadic
#B2295E #5EB229 #295EB2
tetradic
#B2295E #A2B229 #29B27D #3829B2
square
#B2295E #A2B229 #29B27D #3829B2
split-complementary
#B2295E #29B238 #29A2B2
monochromatic
#4F1229 #801E44 #B2295E #D4447C #DF769F

Accessibility & contrast

On white

6.23
#B2295E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#B2295E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2295E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2295E#FFFFFF#000000##FFFFFF
##B2295E1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A505F
Deuteranopia (green-blind)
#6E6A5B
Tritanopia (blue-blind)
#C20740
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b2295e;
/* rgb */ color: rgb(178, 41, 94);
/* oklch */ color: oklch(51.4% 0.176 2.7);
Tailwind
colors: {
  custom: {
    50: '#cf708b',
    500: '#b2295e',
    950: '#000000',
  },
}
SCSS
$custom: #b2295e;
$custom-light: #cf708b;
$custom-dark: #000000;
JSON
{
  "hex": "#b2295e",
  "rgb": {
    "r": 178,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 336.788,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51435,
    "c": 0.17629,
    "h": 2.7
  },
  "luminance": 0.11859
}

Semantic roles & 50–950 ramp

primary
#B2295E
secondary
#70C7A5
accent
#E6A642
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D

Preview Lab

Preview with #B2295E

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

Preview Lab → · Contrast checker → · Palette generator →

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