#B02F4A#B02F4A

#B02F4A is a mid, vivid red. Relative luminance 0.118; OKLCH L 51.1% C 0.165 H 13.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#B02F4A
RGBrgb(176, 47, 74)
HSLhsl(347, 58%, 44%)
HSVhsv(347, 73%, 69%)
CMYKcmyk(0%, 73.3%, 58%, 31%)
CIE-LABlab(40.83, 53.21, 15.33)
CIE-LCHlch(40.83, 55.38, 16.07°)
OKLaboklab(51.08% 0.1604 0.0381)
OKLCHoklch(51.08% 0.165 13.4)
XYZxyz(20.1590, 11.7604, 7.6857)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B02F4A #2FB095
analogous
#B02F8A #B02F4A #B0542F
triadic
#B02F4A #4AB02F #2F4AB0
tetradic
#B02F4A #8AB02F #2FB095 #542FB0
square
#B02F4A #8AB02F #2FB095 #542FB0
split-complementary
#B02F4A #2FB054 #2F8AB0
monochromatic
#4F1521 #802236 #B02F4A #CF4D68 #DC7D91

Accessibility & contrast

On white

6.27
#B02F4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#B02F4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B02F4A
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B02F4A#FFFFFF#000000##FFFFFF
##B02F4A1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514F4A
Deuteranopia (green-blind)
#726A47
Tritanopia (blue-blind)
#C1083A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b02f4a;
/* rgb */ color: rgb(176, 47, 74);
/* oklch */ color: oklch(51.1% 0.165 13.4);
Tailwind
colors: {
  custom: {
    50: '#ce727c',
    500: '#b02f4a',
    950: '#000000',
  },
}
SCSS
$custom: #b02f4a;
$custom-light: #ce727c;
$custom-dark: #000000;
JSON
{
  "hex": "#b02f4a",
  "rgb": {
    "r": 176,
    "g": 47,
    "b": 74
  },
  "hsl": {
    "h": 347.442,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51082,
    "c": 0.16481,
    "h": 13.4
  },
  "luminance": 0.11758
}

Semantic roles & 50–950 ramp

primary
#B02F4A
secondary
#76C5B4
accent
#E1C147
background
#FDF7F7
surface
#FBEDEE
border
#D4C8C9
text
#150809
muted
#837B7B

Preview Lab

Preview with #B02F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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