#B2234D#B2234D

#B2234D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.178 H 10.0°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B2234D
RGBrgb(178, 35, 77)
HSLhsl(342, 67%, 42%)
HSVhsv(342, 80%, 70%)
CMYKcmyk(0%, 80.3%, 56.7%, 30.2%)
CIE-LABlab(39.92, 57.83, 12.26)
CIE-LCHlch(39.92, 59.12, 11.97°)
OKLaboklab(50.5% 0.1755 0.0309)
OKLCHoklch(50.5% 0.178 10)
XYZxyz(20.3027, 11.2058, 8.1136)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2234D #23B288
analogous
#B22395 #B2234D #B24123
triadic
#B2234D #4DB223 #234DB2
tetradic
#B2234D #95B223 #23B288 #4123B2
square
#B2234D #95B223 #23B288 #4123B2
split-complementary
#B2234D #23B241 #2395B2
monochromatic
#4C0F21 #7F1937 #B2234D #D83A68 #E26D90

Accessibility & contrast

On white

6.48
#B2234D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#B2234D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2234D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2234D#FFFFFF#000000##FFFFFF
##B2234D1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4C4E
Deuteranopia (green-blind)
#706849
Tritanopia (blue-blind)
#C30036
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b2234d;
/* rgb */ color: rgb(178, 35, 77);
/* oklch */ color: oklch(50.5% 0.178 10.0);
Tailwind
colors: {
  custom: {
    50: '#d06d7e',
    500: '#b2234d',
    950: '#000000',
  },
}
SCSS
$custom: #b2234d;
$custom-light: #d06d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2234d",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 77
  },
  "hsl": {
    "h": 342.378,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50502,
    "c": 0.17817,
    "h": 10
  },
  "luminance": 0.11203
}

Semantic roles & 50–950 ramp

primary
#B2234D
secondary
#68C9AC
accent
#EAB73E
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B2234D

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

Preview Lab → · Contrast checker → · Palette generator →

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