#C248AF#C248AF

#C248AF is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.2% C 0.194 H 334.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C248AF
RGBrgb(194, 72, 175)
HSLhsl(309, 50%, 52%)
HSVhsv(309, 63%, 76%)
CMYKcmyk(0%, 62.9%, 9.8%, 23.9%)
CIE-LABlab(50.92, 60.47, -30.84)
CIE-LCHlch(50.92, 67.88, 332.98°)
OKLaboklab(60.23% 0.1753 -0.0841)
OKLCHoklch(60.23% 0.194 334.4)
XYZxyz(32.3036, 19.2018, 42.5541)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C248AF #48C25B
analogous
#9848C2 #C248AF #C24872
triadic
#C248AF #AFC248 #48AFC2
tetradic
#C248AF #C29848 #48C25B #4872C2
square
#C248AF #C29848 #48C25B #4872C2
split-complementary
#C248AF #72C248 #48C298
monochromatic
#6C2461 #9A338A #C248AF #D176C3 #E1A4D7

Accessibility & contrast

On white

4.34
#C248AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#C248AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C248AF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C248AF#FFFFFF#000000##000000
##C248AF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#476EB2
Deuteranopia (green-blind)
#6E80AC
Tritanopia (blue-blind)
#CB5175
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c248af;
/* rgb */ color: rgb(194, 72, 175);
/* oklch */ color: oklch(60.2% 0.194 334.4);
Tailwind
colors: {
  custom: {
    50: '#d883c7',
    500: '#c248af',
    950: '#000000',
  },
}
SCSS
$custom: #c248af;
$custom-light: #d883c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c248af",
  "rgb": {
    "r": 194,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 309.344,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60226,
    "c": 0.19441,
    "h": 334.4
  },
  "luminance": 0.19199
}

Semantic roles & 50–950 ramp

primary
#C248AF
secondary
#98CEA1
accent
#DA644E
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #C248AF

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

Preview Lab → · Contrast checker → · Palette generator →

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