#B02790#B02790

#B02790 is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 52.9% C 0.201 H 339.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B02790
RGBrgb(176, 39, 144)
HSLhsl(314, 64%, 42%)
HSVhsv(314, 78%, 69%)
CMYKcmyk(0%, 77.8%, 18.2%, 31%)
CIE-LABlab(42.30, 63.24, -26.03)
CIE-LCHlch(42.30, 68.39, 337.63°)
OKLaboklab(52.94% 0.1885 -0.0704)
OKLCHoklch(52.94% 0.201 339.5)
XYZxyz(23.6647, 12.6971, 27.5846)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02790 #27B047
analogous
#8C27B0 #B02790 #B0274B
triadic
#B02790 #90B027 #2790B0
tetradic
#B02790 #B08C27 #27B047 #274BB0
square
#B02790 #B08C27 #27B047 #274BB0
split-complementary
#B02790 #4BB027 #27B08C
monochromatic
#4C113E #7E1C67 #B02790 #D540B2 #E072C6

Accessibility & contrast

On white

5.93
#B02790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B02790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02790
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02790#FFFFFF#000000##FFFFFF
##B027901.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315693
Deuteranopia (green-blind)
#5F6B8D
Tritanopia (blue-blind)
#BA2D59
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b02790;
/* rgb */ color: rgb(176, 39, 144);
/* oklch */ color: oklch(52.9% 0.201 339.5);
Tailwind
colors: {
  custom: {
    50: '#cc71b1',
    500: '#b02790',
    950: '#000000',
  },
}
SCSS
$custom: #b02790;
$custom-light: #cc71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#b02790",
  "rgb": {
    "r": 176,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 314.015,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52936,
    "c": 0.20123,
    "h": 339.5
  },
  "luminance": 0.12695
}

Semantic roles & 50–950 ramp

primary
#B02790
secondary
#6CC781
accent
#E76841
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #B02790

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

Preview Lab → · Contrast checker → · Palette generator →

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