#B23262#B23262

#B23262 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.168 H 2.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B23262
RGBrgb(178, 50, 98)
HSLhsl(338, 56%, 45%)
HSVhsv(338, 72%, 70%)
CMYKcmyk(0%, 71.9%, 44.9%, 30.2%)
CIE-LABlab(42.20, 54.76, 2.25)
CIE-LCHlch(42.20, 54.80, 2.35°)
OKLaboklab(52.36% 0.1677 0.0064)
OKLCHoklch(52.36% 0.168 2.2)
XYZxyz(21.7070, 12.6308, 12.8478)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23262 #32B282
analogous
#B232A2 #B23262 #B24232
triadic
#B23262 #62B232 #3262B2
tetradic
#B23262 #A2B232 #32B282 #4232B2
square
#B23262 #A2B232 #32B282 #4232B2
split-complementary
#B23262 #32B242 #32A2B2
monochromatic
#52172D #822548 #B23262 #CF5381 #DC82A4

Accessibility & contrast

On white

5.96
#B23262 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B23262 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23262
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23262#FFFFFF#000000##FFFFFF
##B232621.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5463
Deuteranopia (green-blind)
#706D5F
Tritanopia (blue-blind)
#C11E46
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b23262;
/* rgb */ color: rgb(178, 50, 98);
/* oklch */ color: oklch(52.4% 0.168 2.2);
Tailwind
colors: {
  custom: {
    50: '#ce748e',
    500: '#b23262',
    950: '#000000',
  },
}
SCSS
$custom: #b23262;
$custom-light: #ce748e;
$custom-dark: #000000;
JSON
{
  "hex": "#b23262",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 337.5,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52361,
    "c": 0.16783,
    "h": 2.2
  },
  "luminance": 0.12628
}

Semantic roles & 50–950 ramp

primary
#B23262
secondary
#7BC5A9
accent
#DFA748
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15090C
muted
#837B7D

Preview Lab

Preview with #B23262

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

Preview Lab → · Contrast checker → · Palette generator →

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