#CA0261#CA0261

#CA0261 is a mid, highly saturated pink. Relative luminance 0.135; OKLCH L 54.1% C 0.217 H 3.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#CA0261
RGBrgb(202, 2, 97)
HSLhsl(332, 98%, 40%)
HSVhsv(332, 99%, 79%)
CMYKcmyk(0%, 99%, 52%, 20.8%)
CIE-LABlab(43.46, 70.52, 5.29)
CIE-LCHlch(43.46, 70.71, 4.29°)
OKLaboklab(54.1% 0.2166 0.0141)
OKLCHoklch(54.1% 0.217 3.7)
XYZxyz(26.5391, 13.4670, 12.5089)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA0261 #02CA6B
analogous
#CA02C5 #CA0261 #CA0702
triadic
#CA0261 #61CA02 #0261CA
tetradic
#CA0261 #C5CA02 #02CA6B #0702CA
square
#CA0261 #C5CA02 #02CA6B #0702CA
split-complementary
#CA0261 #02CA07 #02C5CA
monochromatic
#510127 #8D0144 #CA0261 #FD0D7F #FD499F

Accessibility & contrast

On white

5.69
#CA0261 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#CA0261 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA0261
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA0261#FFFFFF#000000##FFFFFF
##CA02611.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495062
Deuteranopia (green-blind)
#79735D
Tritanopia (blue-blind)
#DD0038
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ca0261;
/* rgb */ color: rgb(202, 2, 97);
/* oklch */ color: oklch(54.1% 0.217 3.7);
Tailwind
colors: {
  custom: {
    50: '#e26b8d',
    500: '#ca0261',
    950: '#000000',
  },
}
SCSS
$custom: #ca0261;
$custom-light: #e26b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ca0261",
  "rgb": {
    "r": 202,
    "g": 2,
    "b": 97
  },
  "hsl": {
    "h": 331.5,
    "s": 98.039,
    "l": 40
  },
  "oklch": {
    "l": 0.54103,
    "c": 0.21705,
    "h": 3.7
  },
  "luminance": 0.13463
}

Semantic roles & 50–950 ramp

primary
#CA0261
secondary
#4ADD98
accent
#FF9929
background
#FEF7F8
surface
#FDEDF0
border
#D5C8CB
text
#17080C
muted
#857B7D

Preview Lab

Preview with #CA0261

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

Preview Lab → · Contrast checker → · Palette generator →

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