#FB7CA2#FB7CA2

#FB7CA2 is a light, vivid pink. Relative luminance 0.375; OKLCH L 74.2% C 0.159 H 2.8°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#FB7CA2
RGBrgb(251, 124, 162)
HSLhsl(342, 94%, 74%)
HSVhsv(342, 51%, 98%)
CMYKcmyk(0%, 50.6%, 35.5%, 1.6%)
CIE-LABlab(67.68, 52.19, 2.72)
CIE-LCHlch(67.68, 52.26, 2.99°)
OKLaboklab(74.18% 0.1587 0.0077)
OKLCHoklch(74.18% 0.159 2.8)
XYZxyz(53.5156, 37.5383, 38.6026)
Luminance0.3753 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CA2 #7CFBD5
analogous
#FB7CE2 #FB7CA2 #FB957C
triadic
#FB7CA2 #A2FB7C #7CA2FB
tetradic
#FB7CA2 #E2FB7C #7CFBD5 #957CFB
square
#FB7CA2 #E2FB7C #7CFBD5 #957CFB
split-complementary
#FB7CA2 #7CFB95 #7CE2FB
monochromatic
#F5074F #F94178 #FB7CA2 #FDB7CC #FEE1EA

Accessibility & contrast

On white

2.47
#FB7CA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#FB7CA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CA2
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CA2#FFFFFF#000000##000000
##FB7CA21.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9196A3
Deuteranopia (green-blind)
#B2AE9F
Tritanopia (blue-blind)
#FF718A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #fb7ca2;
/* rgb */ color: rgb(251, 124, 162);
/* oklch */ color: oklch(74.2% 0.159 2.8);
Tailwind
colors: {
  custom: {
    50: '#ffa5bd',
    500: '#fb7ca2',
    950: '#000000',
  },
}
SCSS
$custom: #fb7ca2;
$custom-light: #ffa5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7ca2",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 162
  },
  "hsl": {
    "h": 342.047,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74183,
    "c": 0.15886,
    "h": 2.8
  },
  "luminance": 0.37533
}

Semantic roles & 50–950 ramp

primary
#FB7CA2
secondary
#D5F6EC
accent
#E6A100
background
#FFFAFB
surface
#FFF4F6
border
#D7CED0
text
#181012
muted
#867F81

Preview Lab

Preview with #FB7CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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