#B0268E#B0268E

#B0268E is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.8% C 0.201 H 340.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B0268E
RGBrgb(176, 38, 142)
HSLhsl(315, 64%, 42%)
HSVhsv(315, 78%, 69%)
CMYKcmyk(0%, 78.4%, 19.3%, 31%)
CIE-LABlab(42.11, 63.26, -25.11)
CIE-LCHlch(42.11, 68.06, 338.35°)
OKLaboklab(52.77% 0.1891 -0.0678)
OKLCHoklch(52.77% 0.201 340.3)
XYZxyz(23.4808, 12.5717, 26.7759)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B0268E #26B048
analogous
#8D26B0 #B0268E #B02649
triadic
#B0268E #8EB026 #268EB0
tetradic
#B0268E #B08D26 #26B048 #2649B0
square
#B0268E #B08D26 #26B048 #2649B0
split-complementary
#B0268E #49B026 #26B08D
monochromatic
#4B103D #7E1B65 #B0268E #D53EB0 #E070C5

Accessibility & contrast

On white

5.98
#B0268E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B0268E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B0268E
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B0268E#FFFFFF#000000##FFFFFF
##B0268E1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315591
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#BB2B58
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b0268e;
/* rgb */ color: rgb(176, 38, 142);
/* oklch */ color: oklch(52.8% 0.201 340.3);
Tailwind
colors: {
  custom: {
    50: '#cc70af',
    500: '#b0268e',
    950: '#000000',
  },
}
SCSS
$custom: #b0268e;
$custom-light: #cc70af;
$custom-dark: #000000;
JSON
{
  "hex": "#b0268e",
  "rgb": {
    "r": 176,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 314.783,
    "s": 64.486,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52766,
    "c": 0.20091,
    "h": 340.3
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#B0268E
secondary
#6BC782
accent
#E76A40
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #B0268E

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

Preview Lab → · Contrast checker → · Palette generator →

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