#C948A2#C948A2

#C948A2 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.6% C 0.190 H 341.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C948A2
RGBrgb(201, 72, 162)
HSLhsl(318, 54%, 54%)
HSVhsv(318, 64%, 79%)
CMYKcmyk(0%, 64.2%, 19.4%, 21.2%)
CIE-LABlab(51.46, 60.41, -22.30)
CIE-LCHlch(51.46, 64.39, 339.74°)
OKLaboklab(60.65% 0.1803 -0.0598)
OKLCHoklch(60.65% 0.19 341.7)
XYZxyz(32.9272, 19.6639, 36.2368)
Luminance0.1966 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C948A2 #48C96F
analogous
#B048C9 #C948A2 #C94861
triadic
#C948A2 #A2C948 #48A2C9
tetradic
#C948A2 #C9B048 #48C96F #4861C9
square
#C948A2 #C9B048 #48C96F #4861C9
split-complementary
#C948A2 #61C948 #48C9B0
monochromatic
#74225C #A43081 #C948A2 #D777BA #E5A7D2

Accessibility & contrast

On white

4.26
#C948A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#C948A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C948A2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C948A2#FFFFFF#000000##000000
##C948A21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#D54A6E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c948a2;
/* rgb */ color: rgb(201, 72, 162);
/* oklch */ color: oklch(60.6% 0.190 341.7);
Tailwind
colors: {
  custom: {
    50: '#dd83bd',
    500: '#c948a2',
    950: '#000000',
  },
}
SCSS
$custom: #c948a2;
$custom-light: #dd83bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c948a2",
  "rgb": {
    "r": 201,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 318.14,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60646,
    "c": 0.18996,
    "h": 341.7
  },
  "luminance": 0.19661
}

Semantic roles & 50–950 ramp

primary
#C948A2
secondary
#9BD2AB
accent
#DE774A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#150B12
muted
#847C81

Preview Lab

Preview with #C948A2

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

Preview Lab → · Contrast checker → · Palette generator →

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