#B02F5E#B02F5E

#B02F5E is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.168 H 3.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#B02F5E
RGBrgb(176, 47, 94)
HSLhsl(338, 58%, 44%)
HSVhsv(338, 73%, 69%)
CMYKcmyk(0%, 73.3%, 46.6%, 31%)
CIE-LABlab(41.33, 54.87, 3.46)
CIE-LCHlch(41.33, 54.98, 3.60°)
OKLaboklab(51.62% 0.168 0.0095)
OKLCHoklch(51.62% 0.168 3.2)
XYZxyz(20.9431, 12.0740, 11.8152)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F5E #2FB081
analogous
#B02F9E #B02F5E #B0402F
triadic
#B02F5E #5EB02F #2F5EB0
tetradic
#B02F5E #9EB02F #2FB081 #402FB0
square
#B02F5E #9EB02F #2FB081 #402FB0
split-complementary
#B02F5E #2FB040 #2F9EB0
monochromatic
#4F152A #802244 #B02F5E #CF4D7C #DC7DA0

Accessibility & contrast

On white

6.15
#B02F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#B02F5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F5E
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F5E#FFFFFF#000000##FFFFFF
##B02F5E1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515F
Deuteranopia (green-blind)
#6F6B5B
Tritanopia (blue-blind)
#BF1843
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b02f5e;
/* rgb */ color: rgb(176, 47, 94);
/* oklch */ color: oklch(51.6% 0.168 3.2);
Tailwind
colors: {
  custom: {
    50: '#cd728b',
    500: '#b02f5e',
    950: '#000000',
  },
}
SCSS
$custom: #b02f5e;
$custom-light: #cd728b;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f5e",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 338.14,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51615,
    "c": 0.16826,
    "h": 3.2
  },
  "luminance": 0.12071
}

Semantic roles & 50–950 ramp

primary
#B02F5E
secondary
#76C5A8
accent
#E1A947
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #B02F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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