#C948AF#C948AF

#C948AF is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.2% C 0.199 H 336.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C948AF
RGBrgb(201, 72, 175)
HSLhsl(312, 54%, 54%)
HSVhsv(312, 64%, 79%)
CMYKcmyk(0%, 64.2%, 12.9%, 21.2%)
CIE-LABlab(52.01, 62.30, -29.07)
CIE-LCHlch(52.01, 68.75, 334.98°)
OKLaboklab(61.23% 0.1826 -0.0789)
OKLCHoklch(61.23% 0.199 336.6)
XYZxyz(34.1431, 20.1503, 42.6403)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C948AF #48C962
analogous
#A248C9 #C948AF #C9486E
triadic
#C948AF #AFC948 #48AFC9
tetradic
#C948AF #C9A248 #48C962 #486EC9
square
#C948AF #C9A248 #48C962 #486EC9
split-complementary
#C948AF #6EC948 #48C9A2
monochromatic
#742264 #A4308C #C948AF #D777C4 #E5A7D8

Accessibility & contrast

On white

4.18
#C948AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#C948AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C948AF
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C948AF#FFFFFF#000000##000000
##C948AF1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6FB2
Deuteranopia (green-blind)
#7383AC
Tritanopia (blue-blind)
#D34F75
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c948af;
/* rgb */ color: rgb(201, 72, 175);
/* oklch */ color: oklch(61.2% 0.199 336.6);
Tailwind
colors: {
  custom: {
    50: '#dd84c7',
    500: '#c948af',
    950: '#000000',
  },
}
SCSS
$custom: #c948af;
$custom-light: #dd84c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c948af",
  "rgb": {
    "r": 201,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 312.093,
    "s": 54.43,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6123,
    "c": 0.1989,
    "h": 336.6
  },
  "luminance": 0.20147
}

Semantic roles & 50–950 ramp

primary
#C948AF
secondary
#9BD2A6
accent
#DE684A
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150B13
muted
#847C82

Preview Lab

Preview with #C948AF

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

Preview Lab → · Contrast checker → · Palette generator →

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