#C948B2#C948B2

#C948B2 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.4% C 0.201 H 335.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C948B2
RGBrgb(201, 72, 178)
HSLhsl(311, 54%, 54%)
HSVhsv(311, 64%, 79%)
CMYKcmyk(0%, 64.2%, 11.4%, 21.2%)
CIE-LABlab(52.14, 62.76, -30.61)
CIE-LCHlch(52.14, 69.82, 334.00°)
OKLaboklab(61.37% 0.183 -0.0833)
OKLCHoklch(61.37% 0.201 335.5)
XYZxyz(34.4410, 20.2694, 44.2093)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C948B2 #48C95F
analogous
#9F48C9 #C948B2 #C94871
triadic
#C948B2 #B2C948 #48B2C9
tetradic
#C948B2 #C99F48 #48C95F #4871C9
square
#C948B2 #C99F48 #48C95F #4871C9
split-complementary
#C948B2 #71C948 #48C99F
monochromatic
#742266 #A4308F #C948B2 #D777C6 #E5A7DA

Accessibility & contrast

On white

4.16
#C948B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C948B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C948B2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C948B2#FFFFFF#000000##000000
##C948B21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#7283AF
Tritanopia (blue-blind)
#D35077
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c948b2;
/* rgb */ color: rgb(201, 72, 178);
/* oklch */ color: oklch(61.4% 0.201 335.5);
Tailwind
colors: {
  custom: {
    50: '#dd84c9',
    500: '#c948b2',
    950: '#000000',
  },
}
SCSS
$custom: #c948b2;
$custom-light: #dd84c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c948b2",
  "rgb": {
    "r": 201,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 310.698,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61371,
    "c": 0.20107,
    "h": 335.5
  },
  "luminance": 0.20267
}

Semantic roles & 50–950 ramp

primary
#C948B2
secondary
#9BD2A5
accent
#DE644A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150B13
muted
#847C82

Preview Lab

Preview with #C948B2

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

Preview Lab → · Contrast checker → · Palette generator →

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