#B2234F#B2234F

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

Color values

HEX#B2234F
RGBrgb(178, 35, 79)
HSLhsl(342, 67%, 42%)
HSVhsv(342, 80%, 70%)
CMYKcmyk(0%, 80.3%, 55.6%, 30.2%)
CIE-LABlab(39.97, 57.98, 11.06)
CIE-LCHlch(39.97, 59.02, 10.80°)
OKLaboklab(50.55% 0.1763 0.028)
OKLCHoklch(50.55% 0.178 9)
XYZxyz(20.3744, 11.2345, 8.4913)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2234F #23B286
analogous
#B22397 #B2234F #B23E23
triadic
#B2234F #4FB223 #234FB2
tetradic
#B2234F #97B223 #23B286 #3E23B2
square
#B2234F #97B223 #23B286 #3E23B2
split-complementary
#B2234F #23B23E #2397B2
monochromatic
#4C0F22 #7F1938 #B2234F #D83A6B #E26D91

Accessibility & contrast

On white

6.47
#B2234F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#B2234F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B2234F
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2234F#FFFFFF#000000##FFFFFF
##B2234F1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4C50
Deuteranopia (green-blind)
#6F684B
Tritanopia (blue-blind)
#C30036
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #b2234f;
/* rgb */ color: rgb(178, 35, 79);
/* oklch */ color: oklch(50.6% 0.178 9.0);
Tailwind
colors: {
  custom: {
    50: '#d06d80',
    500: '#b2234f',
    950: '#000000',
  },
}
SCSS
$custom: #b2234f;
$custom-light: #d06d80;
$custom-dark: #000000;
JSON
{
  "hex": "#b2234f",
  "rgb": {
    "r": 178,
    "g": 35,
    "b": 79
  },
  "hsl": {
    "h": 341.538,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50553,
    "c": 0.17846,
    "h": 9
  },
  "luminance": 0.11232
}

Semantic roles & 50–950 ramp

primary
#B2234F
secondary
#68C9AB
accent
#EAB53E
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #B2234F

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

Preview Lab → · Contrast checker → · Palette generator →

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