#B1245F#B1245F
#B1245F is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.180 H 1.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B1245F |
|---|---|
| RGB | rgb(177, 36, 95) |
| HSL | hsl(335, 66%, 42%) |
| HSV | hsv(335, 80%, 69%) |
| CMYK | cmyk(0%, 79.7%, 46.3%, 30.6%) |
| CIE-LAB | lab(40.31, 58.74, 1.37) |
| CIE-LCH | lch(40.31, 58.76, 1.33°) |
| OKLab | oklab(50.91% 0.1804 0.0042) |
| OKLCH | oklch(50.91% 0.18 1.3) |
| XYZ | xyz(20.8296, 11.4379, 11.9351) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.35
Deep Pink
#CB0162
ΔE00 4.57
Purplish Red
#B0054B
ΔE00 4.79
Raspberry (survey)
#B00149
ΔE00 5.28
Light Burgundy
#A8415B
ΔE00 5.68
Deep Magenta
#A0025C
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B1245F #24B176
analogous
#B124A6 #B1245F #B13024
triadic
#B1245F #5FB124 #245FB1
tetradic
#B1245F #A6B124 #24B176 #3024B1
square
#B1245F #A6B124 #24B176 #3024B1
split-complementary
#B1245F #24B130 #24A6B1
monochromatic
#4B0F28 #7E1A44 #B1245F #D73B7C #E16E9E
Accessibility & contrast
On white
6.39
#B1245F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#B1245F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B1245F
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B1245F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B1245F | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464E60
Deuteranopia (green-blind)
#6C695C
Tritanopia (blue-blind)
#C0003F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b1245f; /* rgb */ color: rgb(177, 36, 95); /* oklch */ color: oklch(50.9% 0.180 1.3);
Tailwind
colors: {
custom: {
50: '#ce6e8c',
500: '#b1245f',
950: '#000000',
},
}SCSS
$custom: #b1245f; $custom-light: #ce6e8c; $custom-dark: #000000;
JSON
{
"hex": "#b1245f",
"rgb": {
"r": 177,
"g": 36,
"b": 95
},
"hsl": {
"h": 334.894,
"s": 66.197,
"l": 41.765
},
"oklch": {
"l": 0.50905,
"c": 0.18047,
"h": 1.3
},
"luminance": 0.11435
}Semantic roles & 50–950 ramp
primary
#B1245F
secondary
#69C8A0
accent
#E9A23F
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#15080C
muted
#837B7D