#B0238E#B0238E

#B0238E is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.6% C 0.204 H 340.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B0238E
RGBrgb(176, 35, 142)
HSLhsl(314, 67%, 41%)
HSVhsv(314, 80%, 69%)
CMYKcmyk(0%, 80.1%, 19.3%, 31%)
CIE-LABlab(41.83, 64.07, -25.55)
CIE-LCHlch(41.83, 68.98, 338.26°)
OKLaboklab(52.56% 0.1916 -0.0691)
OKLCHoklch(52.56% 0.204 340.2)
XYZxyz(23.3887, 12.3876, 26.7452)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0238E #23B045
analogous
#8C23B0 #B0238E #B02348
triadic
#B0238E #8EB023 #238EB0
tetradic
#B0238E #B08C23 #23B045 #2348B0
square
#B0238E #B08C23 #23B045 #2348B0
split-complementary
#B0238E #48B023 #23B08C
monochromatic
#4A0F3C #7D1965 #B0238E #D839B1 #E26CC5

Accessibility & contrast

On white

6.04
#B0238E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B0238E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0238E
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0238E#FFFFFF#000000##FFFFFF
##B0238E1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5591
Deuteranopia (green-blind)
#5E6B8B
Tritanopia (blue-blind)
#BB2857
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b0238e;
/* rgb */ color: rgb(176, 35, 142);
/* oklch */ color: oklch(52.6% 0.204 340.2);
Tailwind
colors: {
  custom: {
    50: '#cc6faf',
    500: '#b0238e',
    950: '#000000',
  },
}
SCSS
$custom: #b0238e;
$custom-light: #cc6faf;
$custom-dark: #000000;
JSON
{
  "hex": "#b0238e",
  "rgb": {
    "r": 176,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 314.468,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52561,
    "c": 0.20368,
    "h": 340.2
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#B0238E
secondary
#67C87E
accent
#EA673E
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #B0238E

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

Preview Lab → · Contrast checker → · Palette generator →

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