#B0238D#B0238D

#B0238D is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.5% C 0.203 H 340.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#B0238D
RGBrgb(176, 35, 141)
HSLhsl(315, 67%, 41%)
HSVhsv(315, 80%, 69%)
CMYKcmyk(0%, 80.1%, 19.9%, 31%)
CIE-LABlab(41.78, 63.94, -25.02)
CIE-LCHlch(41.78, 68.66, 338.63°)
OKLaboklab(52.51% 0.1915 -0.0675)
OKLCHoklch(52.51% 0.203 340.6)
XYZxyz(23.3140, 12.3577, 26.3516)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0238D #23B046
analogous
#8D23B0 #B0238D #B02346
triadic
#B0238D #8DB023 #238DB0
tetradic
#B0238D #B08D23 #23B046 #2346B0
square
#B0238D #B08D23 #23B046 #2346B0
split-complementary
#B0238D #46B023 #23B08D
monochromatic
#4A0F3B #7D1964 #B0238D #D839B0 #E26CC4

Accessibility & contrast

On white

6.05
#B0238D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B0238D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0238D
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0238D#FFFFFF#000000##FFFFFF
##B0238D1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305490
Deuteranopia (green-blind)
#5F6A8A
Tritanopia (blue-blind)
#BB2857
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b0238d;
/* rgb */ color: rgb(176, 35, 141);
/* oklch */ color: oklch(52.5% 0.203 340.6);
Tailwind
colors: {
  custom: {
    50: '#cc6fae',
    500: '#b0238d',
    950: '#000000',
  },
}
SCSS
$custom: #b0238d;
$custom-light: #cc6fae;
$custom-dark: #000000;
JSON
{
  "hex": "#b0238d",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 314.894,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52512,
    "c": 0.20304,
    "h": 340.6
  },
  "luminance": 0.12355
}

Semantic roles & 50–950 ramp

primary
#B0238D
secondary
#67C87F
accent
#EA693E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B0238D

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

Preview Lab → · Contrast checker → · Palette generator →

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