#B02766#B02766
#B02766 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.179 H 358.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B02766 |
|---|---|
| RGB | rgb(176, 39, 102) |
| HSL | hsl(332, 64%, 42%) |
| HSV | hsv(332, 78%, 69%) |
| CMYK | cmyk(0%, 77.8%, 42%, 31%) |
| CIE-LAB | lab(40.64, 58.26, -2.58) |
| CIE-LCH | lch(40.64, 58.32, 357.47°) |
| OKLab | oklab(51.19% 0.1791 -0.006) |
| OKLCH | oklch(51.19% 0.179 358.1) |
| XYZ | xyz(21.0299, 11.6432, 13.7077) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Magenta (survey)
#C20078
ΔE00 4.77
Violet Red
#A50055
ΔE00 4.81
Deep Pink
#CB0162
ΔE00 5.35
Deep Magenta
#A0025C
ΔE00 5.35
Dark Fuchsia
#9D0759
ΔE00 5.64
Purplish Red
#B0054B
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02766 #27B071
analogous
#B027AB #B02766 #B02D27
triadic
#B02766 #66B027 #2766B0
tetradic
#B02766 #ABB027 #27B071 #2D27B0
square
#B02766 #ABB027 #27B071 #2D27B0
split-complementary
#B02766 #27B02D #27ABB0
monochromatic
#4C112C #7E1C49 #B02766 #D54084 #E072A4
Accessibility & contrast
On white
6.31
#B02766 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#B02766 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02766
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02766 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02766 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454F68
Deuteranopia (green-blind)
#6B6963
Tritanopia (blue-blind)
#BF0E43
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #b02766; /* rgb */ color: rgb(176, 39, 102); /* oklch */ color: oklch(51.2% 0.179 358.1);
Tailwind
colors: {
custom: {
50: '#cd6f91',
500: '#b02766',
950: '#000000',
},
}SCSS
$custom: #b02766; $custom-light: #cd6f91; $custom-dark: #000000;
JSON
{
"hex": "#b02766",
"rgb": {
"r": 176,
"g": 39,
"b": 102
},
"hsl": {
"h": 332.409,
"s": 63.721,
"l": 42.157
},
"oklch": {
"l": 0.51187,
"c": 0.17921,
"h": 358.1
},
"luminance": 0.1164
}Semantic roles & 50–950 ramp
primary
#B02766
secondary
#6CC79D
accent
#E79B41
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D