#C262AF#C262AF

#C262AF is a light, vivid pink. Relative luminance 0.233; OKLCH L 63.5% C 0.154 H 335.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#C262AF
RGBrgb(194, 98, 175)
HSLhsl(312, 44%, 57%)
HSVhsv(312, 49%, 76%)
CMYKcmyk(0%, 49.5%, 9.8%, 23.9%)
CIE-LABlab(55.38, 48.48, -23.93)
CIE-LCHlch(55.38, 54.07, 333.73°)
OKLaboklab(63.51% 0.1403 -0.0647)
OKLCHoklch(63.51% 0.154 335.2)
XYZxyz(34.3538, 23.3021, 43.2375)
Luminance0.2330 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C262AF #62C275
analogous
#A562C2 #C262AF #C2627F
triadic
#C262AF #AFC262 #62AFC2
tetradic
#C262AF #C2A562 #62C275 #627FC2
square
#C262AF #C2A562 #62C275 #627FC2
split-complementary
#C262AF #7FC262 #62C2A5
monochromatic
#7A2F6B #A64192 #C262AF #D38EC5 #E4BADC

Accessibility & contrast

On white

3.71
#C262AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#C262AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C262AF
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C262AF#FFFFFF#000000##000000
##C262AF1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#627CB2
Deuteranopia (green-blind)
#7D8AAC
Tritanopia (blue-blind)
#CA6780
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c262af;
/* rgb */ color: rgb(194, 98, 175);
/* oklch */ color: oklch(63.5% 0.154 335.2);
Tailwind
colors: {
  custom: {
    50: '#d692c7',
    500: '#c262af',
    950: '#000000',
  },
}
SCSS
$custom: #c262af;
$custom-light: #d692c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c262af",
  "rgb": {
    "r": 194,
    "g": 98,
    "b": 175
  },
  "hsl": {
    "h": 311.875,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63512,
    "c": 0.15447,
    "h": 335.2
  },
  "luminance": 0.233
}

Semantic roles & 50–950 ramp

primary
#C262AF
secondary
#ACD3B4
accent
#D46D54
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D13
muted
#837E82

Preview Lab

Preview with #C262AF

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

Preview Lab → · Contrast checker → · Palette generator →

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