#B22F6F#B22F6F

#B22F6F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.176 H 355.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B22F6F
RGBrgb(178, 47, 111)
HSLhsl(331, 58%, 44%)
HSVhsv(331, 74%, 70%)
CMYKcmyk(0%, 73.6%, 37.6%, 30.2%)
CIE-LABlab(42.23, 57.16, -5.81)
CIE-LCHlch(42.23, 57.45, 354.19°)
OKLaboklab(52.52% 0.1754 -0.0146)
OKLCHoklch(52.52% 0.176 355.2)
XYZxyz(22.2473, 12.6484, 16.3057)
Luminance0.1265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B22F6F #2FB272
analogous
#B22FB1 #B22F6F #B2312F
triadic
#B22F6F #6FB22F #2F6FB2
tetradic
#B22F6F #B1B22F #2FB272 #312FB2
square
#B22F6F #B1B22F #2FB272 #312FB2
split-complementary
#B22F6F #2FB231 #2FB1B2
monochromatic
#511533 #822251 #B22F6F #D04E8E #DD7EAD

Accessibility & contrast

On white

5.95
#B22F6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#B22F6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B22F6F
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B22F6F#FFFFFF#000000##FFFFFF
##B22F6F1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485471
Deuteranopia (green-blind)
#6D6C6C
Tritanopia (blue-blind)
#C0214B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b22f6f;
/* rgb */ color: rgb(178, 47, 111);
/* oklch */ color: oklch(52.5% 0.176 355.2);
Tailwind
colors: {
  custom: {
    50: '#ce7398',
    500: '#b22f6f',
    950: '#000000',
  },
}
SCSS
$custom: #b22f6f;
$custom-light: #ce7398;
$custom-dark: #000000;
JSON
{
  "hex": "#b22f6f",
  "rgb": {
    "r": 178,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 330.687,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52515,
    "c": 0.17597,
    "h": 355.2
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#B22F6F
secondary
#77C69F
accent
#E19646
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #B22F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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