#B02F5F#B02F5F

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

Color values

HEX#B02F5F
RGBrgb(176, 47, 95)
HSLhsl(338, 58%, 44%)
HSVhsv(338, 73%, 69%)
CMYKcmyk(0%, 73.3%, 46%, 31%)
CIE-LABlab(41.36, 54.96, 2.87)
CIE-LCHlch(41.36, 55.04, 2.99°)
OKLaboklab(51.65% 0.1684 0.008)
OKLCHoklch(51.65% 0.169 2.7)
XYZxyz(20.9882, 12.0921, 12.0530)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F5F #2FB080
analogous
#B02F9F #B02F5F #B03F2F
triadic
#B02F5F #5FB02F #2F5FB0
tetradic
#B02F5F #9FB02F #2FB080 #3F2FB0
square
#B02F5F #9FB02F #2FB080 #3F2FB0
split-complementary
#B02F5F #2FB03F #2F9FB0
monochromatic
#4F152B #802245 #B02F5F #CF4D7D #DC7DA1

Accessibility & contrast

On white

6.14
#B02F5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#B02F5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F5F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F5F#FFFFFF#000000##FFFFFF
##B02F5F1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5260
Deuteranopia (green-blind)
#6F6B5C
Tritanopia (blue-blind)
#BF1843
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b02f5f;
/* rgb */ color: rgb(176, 47, 95);
/* oklch */ color: oklch(51.6% 0.169 2.7);
Tailwind
colors: {
  custom: {
    50: '#cd728c',
    500: '#b02f5f',
    950: '#000000',
  },
}
SCSS
$custom: #b02f5f;
$custom-light: #cd728c;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f5f",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 95
  },
  "hsl": {
    "h": 337.674,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51646,
    "c": 0.16854,
    "h": 2.7
  },
  "luminance": 0.12089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B02F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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