#B23097#B23097

#B23097 is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.3% C 0.198 H 337.7°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#B23097
RGBrgb(178, 48, 151)
HSLhsl(312, 58%, 44%)
HSVhsv(312, 73%, 70%)
CMYKcmyk(0%, 73%, 15.2%, 30.2%)
CIE-LABlab(43.97, 61.89, -27.64)
CIE-LCHlch(43.97, 67.79, 335.93°)
OKLaboklab(54.31% 0.1828 -0.0751)
OKLCHoklch(54.31% 0.198 337.7)
XYZxyz(25.0035, 13.8156, 30.6220)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23097 #30B24B
analogous
#8C30B2 #B23097 #B23056
triadic
#B23097 #97B230 #3097B2
tetradic
#B23097 #B28C30 #30B24B #3056B2
square
#B23097 #B28C30 #30B24B #3056B2
split-complementary
#B23097 #56B230 #30B28C
monochromatic
#521645 #82236E #B23097 #D050B5 #DD80C9

Accessibility & contrast

On white

5.58
#B23097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#B23097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23097
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23097#FFFFFF#000000##FFFFFF
##B230971.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B9A
Deuteranopia (green-blind)
#616F94
Tritanopia (blue-blind)
#BC3760
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b23097;
/* rgb */ color: rgb(178, 48, 151);
/* oklch */ color: oklch(54.3% 0.198 337.7);
Tailwind
colors: {
  custom: {
    50: '#cd75b6',
    500: '#b23097',
    950: '#000000',
  },
}
SCSS
$custom: #b23097;
$custom-light: #cd75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#b23097",
  "rgb": {
    "r": 178,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 312.462,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5431,
    "c": 0.1976,
    "h": 337.7
  },
  "luminance": 0.13813
}

Semantic roles & 50–950 ramp

primary
#B23097
secondary
#78C688
accent
#E16747
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140911
muted
#837B80

Preview Lab

Preview with #B23097

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

Preview Lab → · Contrast checker → · Palette generator →

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